Home » Mailing lists » Users » Running DHCP on VPS, ( on a router.. )
Re: Running DHCP on VPS, ( on a router.. ) [message #20945 is a reply to message #20943] |
Fri, 28 September 2007 12:49 |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |
|
|
Dariush Pietrzak wrote:
>>DHCP server should work fine with veth bridged to host eth0 interface.
>>Can you reproduce your issue when server doesn't reply?
>
> it looks like this:
>
> HN: tcpdump -n -i eth0.107
is it veth pair interface, right? ok...
and is 192.168.8.254 assigned to veth inside VE?
> 08:16:19.401880 00:1b:d4:7e:76:2a > 01:00:0c:cc:cc:cd SNAP Unnumbered, ui, Flags [Command], length 50
> 08:16:21.154240 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:1b:d5:2c:bf:38, length 308
> 08:16:21.185096 IP 192.168.8.254.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 300
> 08:16:21.187344 arp who-has 192.168.9.254 tell 192.168.9.97
>
>
> HN: tcpdump -n -i br107
> 08:16:19.401880 00:1b:d4:7e:76:2a > 01:00:0c:cc:cc:cd SNAP Unnumbered, ui, Flags [Command], length 50
> 08:16:21.154240 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:1b:d5:2c:bf:38, length 308
> 08:16:21.185096 IP 192.168.8.254.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 300
> 08:16:21.187344 arp who-has 192.168.9.254 tell 192.168.9.97
>
> and finally, from inside the vps:
> VPS: tcpdump -n -i eth0
> 08:16:19.401886 00:1b:d4:7e:76:2a > 01:00:0c:cc:cc:cd SNAP Unnumbered, ui, Flags [Command], length 50
> 08:16:21.185110 IP 192.168.8.254.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 300
> 08:16:21.187356 arp who-has 192.168.9.254 tell 192.168.9.97
> 08:16:21.188600 arp who-has 192.168.8.1 tell 192.168.9.97
I wonder why timestamp of Reply here is greater then timestamp in HN...
Maybe... it was reply from someone else? This would make things logical - someone replies
to DHCP requests and you see the reply only. Can you please check (if it is true - shutting down
dhcp server inside VE won't affect tcpdump output)?
> as you can see, broadcast request from dhcp client is missing, but strangely enough, the reply
> is clearly visible.
Or it works, but only tcpdump is missing the packet?
> I also tried doing something like this to verify the software inside VPS: I chroot to ..../vz/private/107/
> and then launch the dhcpd against br107, and then it works as expected.
Thanks,
Kirill
|
|
|
|
|
Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 11:27
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: gblond on Fri, 28 September 2007 12:44
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 13:07
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 13:08
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Sat, 29 September 2007 10:20
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Sun, 30 September 2007 07:30
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Sun, 30 September 2007 12:24
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Mon, 01 October 2007 10:00
|
|
|
Re: Running DHCP on VPS, ( on a router.. ) [ Summary/Solved ]
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 12:49
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 13:39
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 28 September 2007 13:50
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Mon, 01 October 2007 08:08
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
|
|
|
Re: Running DHCP on VPS, ( on a router.. )
By: dev on Fri, 19 October 2007 11:18
|
Goto Forum:
Current Time: Sun Apr 28 04:23:27 GMT 2024
Total time taken to generate the page: 0.02555 seconds
|