[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [uml-user] connecting uml to eth1
From:       Jan Wolff <jan.wolff () gmx ! de>
Date:       2007-09-14 7:19:17
Message-ID: 46EA35F5.6010104 () gmx ! de
[Download RAW message or body]

Hi,

siddhu srivatsan wrote:
> ifconfig uml-bridge 10.227.89.13 netmask 255.255.255.0
...
> ifconfig eth0 192.168.0.201 netmask 255.255.255.0
>
> But when I tried to add the default gateway as 10.227.89.13
> by using the route add command, I get an error
> which just tells me that there is no such device. I think I am missing
> something. Can someone let me know what is it that I am missing.

your default gateway must be reachable over one of your interfaces. You
have configured the bridge and your uml-client to be in different
subnets and your uml-client can't figure out the route to the gateway
you want to set.

Try one of these:

ifconfig uml-bridge 192.168.0.200 netmask 255.255.255.0 up
ifconfig eth0 192.168.0.201 netmask 255.255.255.0

ifconfig uml-bridge 10.227.89.13 netmask 255.255.255.0 up
ifconfig eth0 10.227.89.14 netmask 255.255.255.0

Make sure, that the network part of the ip-adress, in your case the
first 3 numbers match. Now you should be able to set the uml-bridge as
the gateway, because the route command can determine the interface over
which the gateway can be reached.

Jan



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic