I am wanting to setup a route to use for dialup
Normally I have this
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
11.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
12.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 12.0.0.1 0.0.0.0 UG 0 0 0 eth0
which is fine
Now I want to dialin to a server.
Now I have this
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
111.111.111.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
11.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
12.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 111.111.111.1 0.0.0.0 UG 0 0 0 ppp0
which I want to change to
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
111.111.111.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
11.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
12.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 12.0.0.1 0.0.0.0 UG 0 0 0 eth0
111.111.0.0 111.111.111.1 255.255.0.0 UG 0 0 0 ppp0
This should work, right?
How can I do it?
