12-13-2020 07:48 PM
Hello how's everyone doing. So i am very new to this just started studying about 2 weeks ago. I setup a 2611 router with a 3500xl switch using my comcast router. I'm not sure why but when i plug into the switch my pc gets an ip and connects to the internet but if i try to ping anything from the switch it doesn't work. The switch doesn't even have an ip. Here is the running config for the router. Again super new first time trying to set this up by myself no videos.
Thanks in advance for any and all help.
ip subnet-zero
!
!
!
ip dhcp pool labuser
network 10.1.1.0 255.255.255.0
default-router 10.1.1.1
dns-server 8.8.8.8
!
mpls ldp logging neighbor-changes
!
!
!
!
!
!
!
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
mta receive maximum-recipients 0
!
!
!
!
interface Ethernet0/0
ip address dhcp
ip nat outside
half-duplex
!
interface Ethernet0/1
ip address 10.1.1.1 255.255.255.0
ip nat inside
half-duplex
!
ip nat inside source list 1 interface Ethernet0/0 overload
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 10.0.0.1
!
!
!
access-list 1 permit any
!
!
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
Solved! Go to Solution.
12-13-2020 11:49 PM
Hello,
your equipment is extremely old, but I guess that is obvious.
Your switch needs an IP address and a default gateway. Configure the below on the switch:
interface Vlan 1
ip address 10.1.1.2 255.255.255.0
!
ip default-gateway 10.1.1.1
On the router, make the changes/additions marked in bold:
ip subnet-zero
--> ip dhcp excluded-address 10.1.1.1
!
ip dhcp pool labuser
network 10.1.1.0 255.255.255.0
default-router 10.1.1.1
dns-server 8.8.8.8
!
mpls ldp logging neighbor-changes
!
no voice hpi capture buffer
no voice hpi capture destination
!
mta receive maximum-recipients 0
!
interface Ethernet0/0
ip address dhcp
ip nat outside
half-duplex
!
interface Ethernet0/1
ip address 10.1.1.1 255.255.255.0
ip nat inside
half-duplex
!
ip nat inside source list 1 interface Ethernet0/0 overload
no ip http server
ip classless
!
ip route 0.0.0.0 0.0.0.0 10.0.0.1
!
--> access-list 1 permit 10.1.1.0 0.0.0.255
!
call rsvp-sync
!
mgcp profile default
!
dial-peer cor custom
!
line con 0
line aux 0
line vty 0 4
!
end
12-13-2020 11:49 PM
Hello,
your equipment is extremely old, but I guess that is obvious.
Your switch needs an IP address and a default gateway. Configure the below on the switch:
interface Vlan 1
ip address 10.1.1.2 255.255.255.0
!
ip default-gateway 10.1.1.1
On the router, make the changes/additions marked in bold:
ip subnet-zero
--> ip dhcp excluded-address 10.1.1.1
!
ip dhcp pool labuser
network 10.1.1.0 255.255.255.0
default-router 10.1.1.1
dns-server 8.8.8.8
!
mpls ldp logging neighbor-changes
!
no voice hpi capture buffer
no voice hpi capture destination
!
mta receive maximum-recipients 0
!
interface Ethernet0/0
ip address dhcp
ip nat outside
half-duplex
!
interface Ethernet0/1
ip address 10.1.1.1 255.255.255.0
ip nat inside
half-duplex
!
ip nat inside source list 1 interface Ethernet0/0 overload
no ip http server
ip classless
!
ip route 0.0.0.0 0.0.0.0 10.0.0.1
!
--> access-list 1 permit 10.1.1.0 0.0.0.255
!
call rsvp-sync
!
mgcp profile default
!
dial-peer cor custom
!
line con 0
line aux 0
line vty 0 4
!
end
12-14-2020 12:54 PM
lol yes pretty darn old. someone i know give me a whole bunch of stuff servers routers switches. I think the newest thing in there was a cisco asa 5505 which is still fairly old. I'll try these and report back. Thanks
12-14-2020 04:58 PM
Worked like a charm thanks again
12-14-2020 12:05 AM - edited 12-14-2020 12:08 AM
Hello
Change the routers interface to be duplex full and default route
no ip route 0.0.0.0 0.0.0.0 10.0.0.1
ip route 0.0.0.0 0.0.0.0 eth0/0 dhcp
Check your client pc to make sure it’s obtaining the correct ip addressing- ipconfig/all
Please note - The switch doesn’t require any ip addressing or default gateway for your host connected to it to work - adding that to the switch would just be for the remote management of the switch- the addressing has no bearing on routing from client to router
12-14-2020 12:52 PM
ahhh i see so that's why it can connect to the internet and lease an ip. Thanks a ton. I just got home so ill give both a shot
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