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.
yvsupportAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.