Plugging a cable modem into a switch?

in CCNA & CCENT
Heres the scenario,
I have a cable modem from my ISP, and a 3560G Layer 3 switch.
I have a static IP address given to my by my ISP..
If I assign the IP to a Ethernet port on the switch, and plug the modem into it via a cross over cable, will it work?
Im workin on a new lab, and had this question..
Also, if I create a route "ip route 0.0.0.0 0.0.0.0 gigabit 0/48", will all traffic go to the web?
Thanks!
I have a cable modem from my ISP, and a 3560G Layer 3 switch.
I have a static IP address given to my by my ISP..
If I assign the IP to a Ethernet port on the switch, and plug the modem into it via a cross over cable, will it work?
Im workin on a new lab, and had this question..
Also, if I create a route "ip route 0.0.0.0 0.0.0.0 gigabit 0/48", will all traffic go to the web?
Thanks!
WIP: CCNA, BS Sys/Net Admin
Taking one byte out of computers, one bit at a time!
College Fund: [-/
] (15000)
Taking one byte out of computers, one bit at a time!
College Fund: [-/
] (15000)
Comments
-
DPG Member Posts: 780 ■■■■■□□□□□
It should work fine. Don't forget that traffic will need a way to get back into your network. -
bigheadx Member Posts: 36 ■■□□□□□□□□
Right, so I will need to create NAT's then ?
What I am trying to do is eliminate the need for an extra device, and make my switch imitate a router.WIP: CCNA, BS Sys/Net Admin
Taking one byte out of computers, one bit at a time!
College Fund: [-/
] (15000)
-
bigheadx Member Posts: 36 ■■□□□□□□□□
So any quick advice on how I would get this setup?WIP: CCNA, BS Sys/Net Admin
Taking one byte out of computers, one bit at a time!
College Fund: [-/
] (15000)
-
billyr Member Posts: 186
You could maybe stick some sort of firewall device in there to do the NAT, as mentioned previously most of Cisco's layer 3 switches don't do NAT. -
alan2308 Member Posts: 1,854 ■■■■■■■■□□
So any quick advice on how I would get this setup?
The short answer is that you can't. Your switch cannot do NAT, as previously explained, so you will need a device which can. The only Cisco switches which can are probably not ones that you would want to run at home (see here for more information). So you're going to need to use a router or firewall which is capable of doing NAT.