From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 19 Sep 2005 - 00:36:02 BST
On Sun, Sep 18, 2005 at 10:00:20PM +0200, Karsten Horsmann wrote:
> Hello,
>
> Herbert Poetzl wrote:
>
> > 1/nodev 1/ip=192.168.100.255 1/prefix=24
> > 2/nodev 2/ip=255.255.255.255 1/prefix=32
> >
> >>Maybe the ip/netmask setup is the Problem?
> >
> > for me, the question is: what is the problem? :)
>
> i try the above new vserver setup and it seems that "dnsmasq"
> is the problem. I made an nmap -sU vserver-ip.
> Saw the dns/dhcp service. But no dhcp leases to the clients.
>
> So i give the normal dhcpd a chance and it works. Hmmm.
> Maybe the dnsmasq "bind all interfaces" is the problem,
> but thats a diffrent prob.
>
> >>Question #2 How can i switch between 2 nics?
> [...]
> > depends on the networks you use ...
>
> Sometimes i use the wirless interface as Accesspoint and the rest
> i use it as client with an openvpn tunnel to my lan.
>
> > if you have for example 192.168.100.x on ath0
> > and 192.168.200.x on eth0, then you probably
> > want a setup for the following:
> >
> > mo0=ath0:192.168.100.210/24
> > mo1=eth0:192.168.200.210/24
> > 192.168.100.255/24
> > 192.168.200.255/24
> > 255.255.255.255/32
>
> Nice idea. But this means that both interfaces are up, isnt it?
this assumed that you have both up and running,
if you 'change' the nic between guest restarts
(i.e. bootup of notebook or such), you can
assign the IPs to the interface at bootup/config
and just 'use' them (no assignment) inside a
guest. that would work regardless of the NIC the
IP is assigned to ...
HTH,
Herbert
> Thanks Herbert.
>
> --
> MfG
> Karsten Horsmann
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver