10-23-2003 05:30 PM - edited 03-02-2019 11:13 AM
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??
10-23-2003 06:14 PM
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
10-24-2003 01:42 AM
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
10-25-2003 07:06 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide