Hey /g/.
Got a few questions about configuring port forwarding or NAT with CiscoIOS. I really don't know where to start. On Tuesday I'm getting internet in my apartment. Well they are going to configure their end, which is the modem and coax. My question is how do I configure my router 2900 and switch catalyst 2948g to accept Internet. Right now I'm sitting with the coax and modem plugged into the wall. I have the modem plugged into my 2900, on Ethernet 0/0
The rest of my lan and switch is plugged into Ethernet 0/1. Will post show run shortly.
Anyone at this point knows more about CiscoIOS or CatOS at this point than me. Any help is appreciated. Thanks
Running-config here
http://pastebin.com/6ZgHtyEq
Bamp
>cisco
GTFO off /g/ with this proprietary shit
bump before I look into it and the thread disappears
>>59011249
do you know whether their modem will be in bridge-mode or if it will take up routing activities itself?
This is what I came up with. I used packet tracer on a 2901, which has GigabitEthernet Interfaces instead of Ethernet. I advise you not to copy paste the config, but to enter the commands yourself.
I'll assume that your modem acts as a router too, else you need PPP and that opens another can of worms.
Simplest and best option would be to leave the 2900 out and connect the switch directly to the modem. With two NATting routers, you'll have massive latency anc connectivity problems and gayming will be no fun. Ask your provider to put the modem in bridge mode if you really want to use your router, then do PPP instead of DHCP on the outside interface.
>ip default-gateway 192.168.1.1
The defaut tgateway is the next hop that the router uses for traffic originating from itself going into another network. If you enter an address of the router itself, this traffic will go nowhere.
I set your internal network to 10.0.0.0/24, don't know what you use.
SSH access is enabled, you just need to generate a crypto key yourself. Username is faggot, password cisco.
I set up a DHCP server on 10.0.0.0/24.
>full-duplex
leave these on autoneg, or you will have to configure the switch too. Only fuck with it when you're having duplex problems
http://pastebin.com/CsKGxaDi
>>59011249
>http://pastebin.com/CsKGxaDi
Any time you do NAT don't forget to create the actual access-list to allow internal networks to get NATd to an outside address.
>>59014358
His config should work.
Remember RFC 1918, 10.0.0.0/8,172.16.0.0/12 and 192.168.0.0/16 are private addresses. Keep your interface for your modem on DHCP.
>https://tools.ietf.org/html/rfc1918
>>59014358
That configuration may work, but there is a big mistake in your configuration.
The Static route that you have put in, it never have to point out to an interface without an IP. If you are using PPP thats correct, but in Ethernet domains that configuation may work because the router will send ARP for every IP Public to the Modem and the Modem will respond this ARP (This is Known as Proxy ARP). This will cause a problem in your CPU and Memory (Check in Internet this issue).
Why dont try this:
ip route 0.0.0.0 0.0.0.0 G0/0 dhcp
-