cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
213
Views
0
Helpful
1
Replies

Bad Design?

nygenxny123
Level 1
Level 1

Im looking over a design of a remote site, and I am a little confused

The interface on router for the lan is 192.168.96.6

However, the cat switch that is connected

to that interface has an IP address of

192.168.97.6 (vlan1) learned via dhcp

router#GigabitEthernet0/1 is up, line protocol is up

Internet address is 192.168.96.251/23

router#sh cdp neighbors gigabitEthernet 0/1 det

-------------------------

Device ID: LAN1

Entry address(es):

IP address: 192.168.97.6

How can you have 2 interfaces connected

on different networks?

And the users all getting 192.168.97.x

ip's while the router they are connecting

to has 192.168.96.x on the interface?

and here is the config for the cat switch

interface Vlan1

ip address dhcp

no ip route-cache

ip default-gateway 2x6.xx.xx.209

ip http server

access-list 25 permit 192.168.0.0 0.0.255.255

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

Because the network has a /23 subnet mask so the two addresses are on the same network ie.

192.168.96.0 255.255.254.0 covers the range

192.168.96.1 -> 192.168.97.254

Jon

Review Cisco Networking products for a $25 gift card