cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
414
Views
0
Helpful
2
Replies

Assign three/four different subnets to interface E0??

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

2 Replies 2

thisisshanky
Level 11
Level 11

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.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

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.