Jeff Dike wrote:
> On Thu, Feb 21, 2008 at 04:57:01PM +0200, Pieter Steyn wrote:
>   
>> Hi Jeff,
>>
>>     
>>> The host needs to know that 192.168.213.x is routed
>>>  through tap0 (or whatever).
>>>       
>> The  host cannot know about 192.168.213.x in this case, I want the UML
>> to be able to set it's IP to _any_ network without the host's config
>> being changed.   I don't want the user to even know the host is there,
>> but he should be able to set the UML to whatever network he is on.
>>     
>
> Using bridging might help.  Bridging eth0 and tap0 will get the host
> routing out of the picture.  The UML will then also be able to answer
> arp requests for itself.  That should take care of your local network.
>
>                               Jeff
>
>   
To do the bridging between tap1 and eth0, I have used the following 
commands:

brctl addbr br2
ifconfig br2 up
brctl addif br2 eth0
brctl addif br2 tap1

And the eth0 did not even have an addresse (it was up, of course).
Vincent Perrier





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

Reply via email to