[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gateway doesn't locate at the same subnet of the IP Address.



On Thu, Apr 02, 2009 at 06:02:05PM +0800, hongyi.zhao@gmail.com wrote:
> On Thursday, April 2, 2009 at 17:54, davee@ceu.ox.ac.uk wrote:
> > On Thursday, 02.04.2009 at 17:40 +0800, hongyi.zhao@gmail.com wrote:
> 

[snip]

> > specified somewhere.
> 
> > What does "route print" give you from Win XP?
> 
> C:\Documents and Settings\Administrator>route print
> ===========================================================================
> Interface List
> 0x1 ........................... MS TCP Loopback interface
> 0x2 ...00 1b fc 2e 2b 6c ...... Realtek RTL8139 Family PCI Fast Ethernet NIC -
> 数据包计划程序微型端口
> ===========================================================================
> ===========================================================================
> Active Routes:
> Network Destination        Netmask          Gateway       Interface  Metric
>           0.0.0.0          0.0.0.0  159.226.135.129    210.73.34.32       20
>         127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
>       210.73.34.0    255.255.255.0     210.73.34.32    210.73.34.32       20
>      210.73.34.32  255.255.255.255        127.0.0.1       127.0.0.1       20
>     210.73.34.255  255.255.255.255     210.73.34.32    210.73.34.32       20
>         224.0.0.0        240.0.0.0     210.73.34.32    210.73.34.32       20
>   255.255.255.255  255.255.255.255     210.73.34.32    210.73.34.32       1
> Default Gateway:   159.226.135.129
> ===========================================================================
> Persistent Routes:
>   None

do you have a vpn up it looks like a point to point setup very strange.

if you really want to try this under linux you can use ip route 

so something like 

ip r a 159.226.135.129/32 dev eth0

that tells the kernel that 159.226.135.129 is accessible via eth0 then
you should be able to do 

ip r a default via 159.226.135.129 dev eth0 src <your ip address>

 

> 
> > Dave.
> 
> 
> 

Attachment: signature.asc
Description: Digital signature


Reply to: