cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
321
Views
15
Helpful
3
Replies

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

huytuan
Level 1
Level 1

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 3

scottmac
Level 10
Level 10

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

ntindal
Level 1
Level 1

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

banajahm
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card