Well. Things become better.
Now the eth0 (the external port) is 192.168.1.113,
which is assigned by running dhclient.
The eth1 (the internal port) is 192.168.2.1, which is
assigned by myself.
I can now ping the internet and LAN from my route.
I can also ping 2.1 from LAN
But I can't ping the internet from LAN.
The follows are the things you may want to check
Please help.
Kind Regards,
Liumei
*******************************************************
Linux myrouter 2.2.16 #1 Sun Jun 11 11:33:38 CDT 2000
i386 unknown
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope global
lo
2: brg0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
link/ether fe:fd:0b:4b:6b:99 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc
pfifo_fast qlen 100
link/ether 00:c0:df:25:e4:b6 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.113/24 brd 192.168.1.255 scope
global eth0
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc
pfifo_fast qlen 100
link/ether 00:c0:df:25:e4:b0 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.1/24 brd 192.168.2.255 scope global
eth1
192.168.2.0/24 dev eth1 proto kernel scope link src
192.168.2.1
192.168.1.0/24 dev eth0 proto kernel scope link src
192.168.1.113
default via 192.168.1.254 dev eth0
Module Pages Used by
ip_masq_mfw 3076 0 (unused)
ip_masq_portfw 2296 0 (unused)
ip_masq_autofw 2356 0 (unused)
ip_masq_user 2636 0 (unused)
ip_masq_cuseeme 852 0 (unused)
ip_masq_vdolive 1068 0 (unused)
ip_masq_raudio 2820 0 (unused)
ip_masq_quake 1108 0 (unused)
ip_masq_irc 1300 0 (unused)
ip_masq_ftp 2352 0 (unused)
rtl8139 11528 2
Chain input (policy ACCEPT: 10 packets, 1321 bytes):
pkts bytes target prot opt tosa tosx ifname
mark outsize source
destination ports
0 0 ACCEPT all ------ 0xFF 0x00 lo
0.0.0.0/0 0.0.0.0/0
n/a
0 0 DENY all ------ 0xFF 0x00 eth0
192.168.2.0/24 0.0.0.0/0
n/a
0 0 DENY all ------ 0xFF 0x00 eth0
0.0.0.0/0
192.168.2.0/24 n/a
0 0 DENY all ------ 0xFF 0x00 eth1
255.255.255.255 0.0.0.0/0
n/a
0 0 DENY all ------ 0xFF 0x00 eth1
0.0.0.0/0 0.0.0.0
n/a
0 0 DENY all ------ 0xFF 0x00 eth1
224.0.0.0/3 0.0.0.0/0
n/a
Chain forward (policy ACCEPT: 0 packets, 0 bytes):
pkts bytes target prot opt tosa tosx ifname
mark outsize source
destination ports
4 240 ACCEPT all ------ 0xFF 0x00 eth0
192.168.2.0/24 0.0.0.0/0
n/a
0 0 ACCEPT all ------ 0xFF 0x00 eth0
0.0.0.0/0
192.168.2.0/24 n/a
0 0 MASQ all ------ 0xFF 0x00 eth1
192.168.2.0/24 0.0.0.0/0
n/a
Chain output (policy ACCEPT: 2 packets, 168 bytes):
pkts bytes target prot opt tosa tosx ifname
mark outsize source
destination ports
0 0 ACCEPT all ------ 0xFF 0x00 lo
0.0.0.0/0 0.0.0.0/0
n/a
4 240 DENY all ------ 0xFF 0x00 eth0
192.168.2.0/24 0.0.0.0/0
n/a
0 0 DENY all ------ 0xFF 0x00 eth0
0.0.0.0/0
192.168.2.0/24 n/a
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html