|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
Re: [Xen-users] Interesting networking problem (network	is	unreachable) 
| On Tue, 2007-01-09 at 18:27 +0100, Morten W. Petersen wrote:
> Martin,
> >
> >     when I try to ping and outside host from the guest domain,
> >     the message "connect: Network is unreachable" appears.
> >
> >     Any ideas what's wrong?
> >
> >
> > Your default route is not inside the netmask range.
> > So if 83.143.83.121 <http://83.143.83.121> is really you gateway you 
> > netmask should at be:
> > 255.255.255.0 <http://255.255.255.0>!
> > It may be that your provider gave your the adresses 83.143.83.192/29 
> > <http://83.143.83.192/29> for your use but your netmask is /25.
> 
> (got your other email about netmask /25).
> 
> I don't get any error messages now when using ping, but
> I don't get any responses either.
> 
> If I configure the guest with IP 83.143.83.193 and netmask
> 255.255.255.0 and the routes
> 
> 83.143.83.0     *               255.255.255.0   U     0      0        0 eth0
> default         83.143.83.121   0.0.0.0         UG    0      0        0 eth0
> 
> ping just waits:
> 
> kshetra:~# ping 83.143.86.11
> PING 83.143.86.11 (83.143.86.11) 56(84) bytes of data.
> 
> --- 83.143.86.11 ping statistics ---
> 8 packets transmitted, 0 received, 100% packet loss, time 7008ms
> 
> Thanks very much for your help so far,
> 
> Morten
Add these lines to /etc/network/interfaces in the dom-u, at the bottom
of the file 
ip route replace 83.143.83.121 dev eth0
ip route add default via 83.143.83.121
And change the netmask to 255.255.255.255
Any time you span subnets under a single gateway, or the gateway is not
where one would expect it to be via the notation, treat each guest IP as
a /32.
Re-start networking and it should be fine.
Best,
--Tim
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 | 
 |  | 
  
    |  |  |