On Tue, Jul 8, 2014 at 9:49 AM, Robert Geiger <
rge...@gopivotal.com> wrote:
> - Macvtap method: DHCP server on the interface gets and responds to the
> request to assign an address, reply shows up when we sniff the tap
> interface, OSv does not seem to pick up the reply.
Actually, on that note: I'd be really grateful if anybody on this list can give
us any hints or advice. I gotta be honest with you though: at this point it
has absolutely *nothing* to do with OSv (which means we're essentially
hitting you for free Linux kernel networking advice ;-)).
Like Bob said, we're trying the macvtap/macvlan route and there's how
it breaks for us (I'll use macvlan in this example, but macvtap breaks
exactly the same way):
[host a] # ip link add link eth2 macvlan2 type macvlan mode bridge
[host a] # dhclient -v -4 macvlan2
DHCPDISCOVER on macvlan2 to 255.255.255.255 port 67 interval 3
(xid=0x2a943d62)
DHCPDISCOVER on macvlan2 to 255.255.255.255 port 67 interval 3
(xid=0x2a943d62)
....
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Meanwhile on host b where we run our DHCP server I see this:
Jul 8 10:07:52 sjc-w31 dhcpd: DHCPDISCOVER from f6:23:f4:2f:1e:61 via eth2
Jul 8 10:07:53 sjc-w31 dhcpd: DHCPOFFER on 172.28.8.100 to
f6:23:f4:2f:1e:61 via eth2
Jul 8 10:08:00 sjc-w31 dhcpd: DHCPDISCOVER from f6:23:f4:2f:1e:61 via eth2
Jul 8 10:08:00 sjc-w31 dhcpd: DHCPOFFER on 172.28.8.100 to
f6:23:f4:2f:1e:61 via eth2
Which means that packets are actually traveling up and down the
network, but for some reason something somewhere doesn't
quite work.
iptables/ebtable are emtpy.
Here's how ip link on host a looks like:
4: eth2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq
state UP qlen 1000
link/ether 00:05:33:48:92:32 brd ff:ff:ff:ff:ff:ff
32: macvlan2@eth2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500
qdisc noqueue state UNKNOWN
link/ether f6:23:f4:2f:1e:61 brd ff:ff:ff:ff:ff:ff
Thanks,
Roman.