• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 679
  • Last Modified:

Cisco 1720 Router 2 IP Addresses

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.
0
yvsupport
Asked:
yvsupport
  • 3
  • 2
1 Solution
 
simkoCommented:
it is possible you have to create subinterface
eth0/0.1
ip add IP1 mask

eth0/0.2
ip add IP2 mask

regards
R
0
 
yvsupportAuthor 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
0
 
simkoCommented:
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
0
 
yvsupportAuthor 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?
0
 
simkoCommented:
you have to set a VLAN encapsulation
(config)> int fa0
(config-interface)>encap dot

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now