We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Cisco 1720 Router 2 IP Addresses

Medium Priority
708 Views
Last Modified: 2013-11-29
Hi,

Is is possible to assign 2 IP addresses from different subnets to a single ethernet port on a Cisco 1720 router?

If so, how is it done?

Cheers,

YVS.
Comment
Watch Question

Commented:
it is possible you have to create subinterface
eth0/0.1
ip add IP1 mask

eth0/0.2
ip add IP2 mask

regards
R

Author

Commented:
Sinko,

Thanks,

What is the syntax?

I have the following as the lines of config for the ethernet port on the router. What do I need to add?

interface FastEthernet0
 ip address 172.16.1.250 255.255.0.0
 speed 100
 full-duplex

Commented:
interface FastEthernet0.1
 ip address 172.16.1.250 255.255.0.0
 speed 100
 full-duplex

interface FastEthernet0.2
 ip address 172.18.1.250 255.255.0.0 <or any other IP and mask>
 speed 100
 full-duplex

Author

Commented:
OK. Have tried to enter an IP address for the subinterface and I get the following:

"Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN."

any ideas?
Commented:
you have to set a VLAN encapsulation
(config)> int fa0
(config-interface)>encap dot

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.