Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help me! config debian become to linux box routing

0 views
Skip to first unread message

tieuvinhlong

unread,
May 7, 2009, 6:25:23 AM5/7/09
to
my plan for the network is:

LAN (10.0.0.0/24) > (eth0: 10.0.0.62) Debian Router (eth1:
172.16.0.62) > modem (172.16.0.1) > internet

I have change /proc/sys/net/ipv4/ip_forward from 0 to 1
and Routing table is:

Code:

Destination Gateway Genmask Flags Metric Ref
Use Iface
172.16.0.62 * 255.255.255.255 UH 0 0
0 eth0
10.0.0.62 * 255.255.255.255 UH 0 0
0 eth0
10.0.0.0 10.0.0.62 255.255.255.0 UG 0 0
0 eth0
10.0.0.0 * 255.255.255.0 U 0 0
0 eth0
172.16.0.0 172.16.0.62 255.255.255.0 UG 0 0
0 eth1
172.16.0.0 * 255.255.255.0 U 0 0
0 eth1
default 172.16.0.1 0.0.0.0 UG 0 0
0 eth1

But client not connect internet when use debian router

Help me config debian router. Thank pro so mush.

Bill Marcum

unread,
May 7, 2009, 8:50:56 AM5/7/09
to

You need to set up ip masquerading. Since it's a Debian system, you can
install the ipmasq package.

0 new messages