Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Assign three/four different subnets to interface E0??

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??

2 REPLIES

Re: Assign three/four different subnets to interface E0??

You can configure secondary ip addresses on all those subnets, on the same router interface.

int e0

ip add 192.168.100.254 255.255.255.0

ip add 193.168.100.254 255.255.255.0 secondary

ip add 194.168.100.254 255.255.255.0 secondary

ip add 203.174.156.222 255.255.255.224 secondary

This should do it.

New Member

Re: Assign three/four different subnets to interface E0??

although if you are using private address space, I would probably change the 3rd octet instead of the 1st. i.e 192.168.101 192.168.102 etc. unless your isp assigned you 193.168.100 and 194.168.100.

96
Views
0
Helpful
2
Replies
CreatePlease to create content