Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Assign three different subnet to an interface Ethernet0 ????

Is it possible to allow three/four different subnet to an interface??? How??

At the moment:

interface Ethernet0

ip address 192.168.100.254 255.255.255.0

How do I allow three/four other subnet through this interface

How do I allow traffic from

193.168.100.0 255.255.255.0

194.168.100.0 255.255.255.0

203.174.156.192 255.255.255.224

to travel through the 192.168.100.254 255.255.255.0 interface??

3 REPLIES
Green

Re: Assign three different subnet to an interface Ethernet0 ????

Use the same command (ip addr A.B.C.D M.M.M.M) and add the work "Secondary" to the end ...

Use the word "secondary," even if it's the third, fourth, fifth ... assignment.

(Hit the "?" key after you've finished typing in the mask)

Good Luck

Scott

New Member

Re: Assign three different subnet to an interface Ethernet0 ????

if you do use the secondary addresses then do a show ip interface to check to see whether 'ip fast switching same interface' is enabled if it isn't then enable it for better performance

New Member

Re: Assign three different subnet to an interface Ethernet0 ????

the subnets you mentioned, are they separet lans or are they VLANS? if they are VLANs, consider configuring subinterfaces and assigning an IP address/net mask to each one. that way, traffic from each LAN will use that subinterface as the default gateway.

hope that helps

86
Views
15
Helpful
3
Replies