I've forgotten how the port numbering here goes, but I believe we have Fa0 to Fa9. 8 of these ports are layer-2, meaning the only commands accepted are 'switchport access vlan ', and the other is a layer-3 interface, meaning you can configure an IP address directly on it. Assuming Fa0 is the "wan" port, your configuration would look something like this:
ip dhcp pool Private
network 192.168.1.0 255.255.255.0
ip address dhcp
ip nat outside
interface range fa1 - 9
switchport access vlan 1
ip address 192.168.1.1 255.255.255.0
ip nat inside
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface fa0 overload
The above configuration configures your WAN to get an IP from your DSL/cable modem. Your LAN is configured for DHCP in the 192.168.1.0 range, and the router will be performing NAT in between the LAN and WAN.
Thanks Will for your response. Is there a way to do it without natting inside to outside.
We have 10.2.114.x on outside, we have 10.152.0.0/16 on inside. With 10.152.0.1 assigned to fa0 . What I would like to do is plug a pc into switch and give it a 10.152.0.2,3,4,5,6 and allow it to route to 10.2.114.x
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.