Re: [Vserver] Set default gateway for a guest

From: Roderick A. Anderson <raanders_at_acm.org>
Date: Mon 06 Nov 2006 - 18:43:52 GMT
Message-ID: <454F8268.8030606@acm.org>

Attila - Van der Velde Media wrote:
> Tnx.
>
> It is solved. The problem was conflicting IP's wich i got from my provider.

Glad you found a solution. Could you share your settings? I am trying
on-and-off to set up a three NIC system and have had poor luck doing it.

I want to try again this evening so would appreciate any suggestions or
pointers you have.

I m running a Fedora Core 5 system using Daniel's excellent RPMs. In
fact I am running two of these systems -- one at work and the other is a
"personal project" I'm working on.

I will experiment on the personal project.

It is connected to three networks. Two are routed and the third is a
192.168.x. network. Are you doing something similar?

TIA

-- 
Rod
> Baltasar Cevc schreef:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi Attila,
>>
>> On 03.11.2006, at 15:25, Attila - Van der Velde Media wrote:
>>> How can i set a default gateway for a guest?
>>>
>>> Now a guest cannot reach the internet. When i type "route", on the 
>>> commandline within the guest, gateway shows *
>> The routing is a kernel thing - thus it's done 'by the host' for all 
>> the vservers (same applies to packet filtering). You have to change 
>> the routes on the host.
>> I'd check the packet filter and the routing (do that on the host).
>> It may also be a resolver problem (maybe you haven't set up 
>> /etc/resolv.conf in the guests, or their IPs aren't considered valid 
>> clients on the nameserver you try to reach).
>>
>> If you want different routing, depending on the vserver you're using, 
>> you'll probably want to set up advanced routing (IPRoute2, ip route 
>> command, see the Linux advanced routing and traffic control howto for 
>> starting points).
>>
>> Baltasar
>>
>> ((( Baltasar Cevc
>>
>>
>> ) World wide web:
>>   * http://www.openairkino.net/ (a project for the local youth; German 
>> only)
>>   * http://technik.juz-kirchheim.de/ (programming and admin projects)
>>   * http://baltasar.cevc-topp.de/ (private homepage)
>> ) Phone:
>>   +49 176 232 20 822
>> )
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.4 (Darwin)
>>
>> iD8DBQFFTNEqp2YsmzTbIwYRAsQ9AJ9JuneCro15Bwc/e2ET7yTukC/clACffhpk
>> YEz7NoErKRZ8CasFEG90h4M=
>> =BmYR
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> Vserver mailing list
>> Vserver@list.linux-vserver.org
>> http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Nov 6 18:46:30 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 06 Nov 2006 - 18:46:36 GMT by hypermail 2.1.8