Dear Tom,
I resolved the problem: ( I got the wrong gateway, 192.168.1.20 is my really
gateway, but the host 192.168.1.140's gateway is pointed to a IPCop system
which installed in 192.168.1.20 (it's a virtual machine).
"But it DOES exist -- it is your Shorewall box's default gateway!!!"
Thanks and best regards!
2009-07-19
muiz
发件人: Tom Eastep
发送时间: 2009-07-18 21:51:35
收件人: muiz
抄送: Shorewall Users
主题: Re: [Shorewall-users] Help: internet access and mac problem
muiz wrote:
> Dear Tom,
> Thanks very much for your help!
> I try to ping those IP address, and get the following results:
> a) ping 192.168.1.20
> >> OK
> b) ping 192.168.1.250
> >> Host is not exists
Sorry -- this is the host I wanted you to ping:
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
qlen 100
link/ether 00:19:d1:01:2f:45 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.250/29 brd 192.168.0.255 scope global eth1
-------------
inet6 fe80::219:d1ff:fe01:2f45/64 scope link
valid_lft forever preferred_lft forever
> c) ping 192.168.0.249
> >> Host is not exists
But it DOES exist -- it is your Shorewall box's default gateway!!!
Table main:
10.100.100.2 dev tun0 proto kernel scope link src 10.100.100.1
...
default via 192.168.0.249 dev eth1
-------------
> d) ping 206.124.146.177
> >> Failed, the connection lost
> So what can I do then?
If you can't ping 192.168.0.250, then the default route on 192.168.1.140
is incorrect.
-Tom
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users