Re: broadcast oddity

2011-07-22 Thread Eygene Ryabinkin
Wed, Jul 20, 2011 at 12:34:38PM +0300, Daniel Braniss wrote: from the diskless: els-01# ifconfig vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8280bRXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE ether 00:0d:b9:22:57:18 inet

Re: broadcast oddity

2011-07-20 Thread Daniel Braniss
Tue, Jul 19, 2011 at 10:40:11AM +0300, Daniel Braniss wrote: And that non-broadcast ethernet address is the MAC of your default router? yes. with dest_addr = INADDR_BROADCAST on the non diskless: 09:44:29.850576 00:0d:b9:00:72:a8 (oui Unknown) 00:04:38:a0:c6:07 (oui Unknown),

Re: broadcast oddity

2011-07-19 Thread Daniel Braniss
Hi Eygene, Daniel, good day. Mon, Jul 18, 2011 at 05:04:27PM +0300, Daniel Braniss wrote: this code behaves correctly when run from a diskless host which booted via PXE, but fails on a host that was booted from disk. hint: the non working sends a packet with a non ethernet broadcast

Re: broadcast oddity

2011-07-19 Thread Eygene Ryabinkin
Tue, Jul 19, 2011 at 10:40:11AM +0300, Daniel Braniss wrote: And that non-broadcast ethernet address is the MAC of your default router? yes. Fine, that is more-or-less expected, since the network subsystem just routes 255.255.255.255 to the default gateway. The issue you're seeing were

broadcast oddity

2011-07-18 Thread Daniel Braniss
this code behaves correctly when run from a diskless host which booted via PXE, but fails on a host that was booted from disk. hint: the non working sends a packet with a non ethernet broadcast address and an ip address of 255.255.255.255, the working version sets the ethernet address to

Re: broadcast oddity

2011-07-18 Thread Eygene Ryabinkin
Daniel, good day. Mon, Jul 18, 2011 at 05:04:27PM +0300, Daniel Braniss wrote: this code behaves correctly when run from a diskless host which booted via PXE, but fails on a host that was booted from disk. hint: the non working sends a packet with a non ethernet broadcast address and an ip