Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

one physical int and 2 logical? 1

Status
Not open for further replies.

cygnul

Technical User
Jan 11, 2002
33
GB
Hi

I have a 2505 router at home that im trying to get working. I only have 1 eth interface available. What is want to know is - is it possible to set up sub-interfaces and route down the same ethernet int? It would seem impossible to me.

cheers
cygnul
 
Yes it is posible.

router>#enable
router>(config)#int e0
router>(config-if)#no ip address
router>(config-if)#int e0.1
router>(config-if)#ip address 172.16.1.1 255.255.255.0
router>(config-if)#no shut
router>(config-if)#int e0.2
router>(config-if)#ip address 172.16.1.2 255.255.255.0
router>(config-if)#no shut




 
mmm...am i wrong in thinking that i can only do this from a console? when i remove the ip from eth0 i get discon (predictably)
 
try the commands without the "no ip address" line.

If your telnetting into the ethernet port you will get
disconnected once you clear the ip address.

 
If that dosen't work try,

router>(config)#int e0 secondary
router>(config-if)#ip address 172.16.1.1 255.255.255.0

and leave the first address as is.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top