Plugging a cable modem into a switch?

bigheadxbigheadx Posts: 36Member ■■□□□□□□□□
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!
WIP: CCNA, BS Sys/Net Admin

Taking one byte out of computers, one bit at a time!



College Fund:
[-/
] (15000)

Comments

  • DPGDPG Posts: 780Member
    It should work fine. Don't forget that traffic will need a way to get back into your network.

  • bigheadxbigheadx Posts: 36Member ■■□□□□□□□□
    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)
  • okplayaokplaya Posts: 199Member
    I could be wrong. But I thought only the 6500 could do NAT.
  • bigheadxbigheadx Posts: 36Member ■■□□□□□□□□
    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)
  • billyrbillyr Posts: 186Member
    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.
  • alan2308alan2308 Senior Member Ann Arbor, MIPosts: 1,854Member ■■■■■■■■□□
    bigheadx wrote: »
    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.
Sign In or Register to comment.