Re: [vserver] Networking setup question

From: Matt Paine <matt_at_mattsoftware.com>
Date: Mon 16 Mar 2009 - 22:19:35 GMT
Message-ID: <49BED077.70001@mattsoftware.com>

Thankyou Randall. I think this is exactly the pointer I needed. I
probably should have known about the dummy interface, but I have never
needed to do this kind of thing before (and both VMware and OpenVPN etc
creates their own interfaces without my help :)

Thankyou

Matt

>
> according to route -n the ip address 10.0.1.1 is not assigned to a
> network card and it needs to be but you don't want a private IP
> listening on a public interface.
>
> what i personally do is to create a "virtual" network card and let the
> VServer guests listen on that interface.
> you can just add an extra interface like this
> (in debian you add it in /etc/network/interfaces)
> auto dummy0
> iface dummy0 inet static
> address 192.168.1.1
> netmask 255.255.255.0
>
> in order to be reachable i use shorewall to route the trafic i want
> from external IP on eth0 to the VServer guest IP on dummy0.
>
Received on Mon Mar 16 22:21:11 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 16 Mar 2009 - 22:21:15 GMT by hypermail 2.1.8