Re: routing question...

M Shariful Anam (shuman@triton.kaifnet.com)
Wed, 8 Jan 1997 18:48:29 +0600 (GMT+0600)


On Tue, 7 Jan 1997, J Hassing wrote:
> Routing wizards, how to I get linux2.0.0 to route between the ppp0 and tr0
> interfaces? I have IPforwarding compiled on... (this host is 159.202.14.70)

What do you want to do exactly? Act as a router? If yes, then simply set a
default route to the ppp0 interface, easiest way to do would be to use the
defaultroute option of pppd. Or you can do it manually:
route add default gw 159.202.14.1

> Kernel routing table
> Destination Gateway Genmask Flags MSS Window Use Iface
> 159.202.14.1 * 255.255.255.255 UH 1500 0 0 ppp0
> 159.202.14.0 * 255.255.255.0 U 2000 0 30 tr0
> 127.0.0.0 * 255.0.0.0 U 3584 0 25 lo
> default 159.202.14.253 * UG 2000 0 236 tr0

---
 M Shariful Anam                              <shuman@kaifnet.com>

Kaifnet Services -- Bangladesh