Re: Fw: shorewall newbie Revisit: new IP
On Wed, 2008-11-26 at 13:41 +0100, Phillipus Gunawan wrote:
>
> > route -n
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.20.20.125 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
> 0.0.0.0 10.20.20.125 0.0.0.0 UG 0 0 0 ppp0
> 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
The last two lines are in conflict; the last line should be removed.
Also tighten the mask of 10.x subnet, so the total routing becomes:
route -n
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.20.20.125 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 10.20.20.125 0.0.0.0 UG 0 0 0 ppp0
Reply to: