the above router is my current gateway to the internet for a small lan of PC's. The lan is on 172.16.1.xx and it connects to f0/0 which is set at 172.16.1.30. The internet is via an adsl wic card which is Dialer0.
I originally used sdm to do the route which set it dynamically as:
ip route 0.0.0.0 0.0.0.0 Dialer0 and the internet works with this.
I've tried to alter it to a static route but when I do the internet goes off.
ip route 172.16.0.0 255.255.0.0 Dialer0 doesn't work
ip route 172.16.0.0 255.255.255.255 Dialer0 doesn't work.
I don't understand why setting a static route makes the internet go down when this looks like the correct route.
This command means that let's say a packet is heading for 184.108.40.206. The router obviously does not have a route for it, hence the packet would be thrown to the gateway of last resaort which is Dialer0.
ip route 172.16.0.0 255.255.0.0 Dialer0
This command means that to go to the 172.16.0.0/16 network go to Dialer0. So it does not talks about any other traffic. This route would match only the traffic going to 172.16.0.0/16 while the 0.0.0.0 route would match traffic to any destination which the router does not has a route for.
Simple route entries like you issue are "destination network" specific, not source network. So the way you think "I want 172.16.0.0 network originated traffic to be routed to Dialer0" is wrong. "I want ...... destined traffic to be routed to Dialer0" is the correct statement.
If you want to be more specific and say "I want x network sourced traffic routed to this gateway" or "I want x network sourced traffic and destined to y network, to be routed to that gateway" you need PBR (Policy Based Routing). You can achieve this by using route-maps
ok thanks for your response. I still find it confusing but I suppose that's because I'm a beginner to cisco routers. It's hard to grasp how this router 'thinks' so I expect more reading and study is called for.
We have 3 identical switches configured by someone else and would like to claim some of the Gigabit ports(G1/G2/G3/G4) for use on servers. When we try to change the wiring and configuration, we run in to connectivity issues. Attached is a des...
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...