freebsd 5.4 stable. xl0 is connected via ng_bridge to ngeth0 in this way:

[EMAIL PROTECTED]:~]# ifconfig xl0 up
[EMAIL PROTECTED]:~]# ngctl mkpeer . eiface hook ether
[EMAIL PROTECTED]:~]# ifconfig ngeth0 up
[EMAIL PROTECTED]:~]# ngctl mkpeer xl0: bridge lower link0
[EMAIL PROTECTED]:~]# ngctl name xl0:lower mybridge
[EMAIL PROTECTED]:~]# ngctl connect ngeth0: mybridge: lower link1
[EMAIL PROTECTED]:~]# ngctl connect ngeth0: mybridge: upper link2
[EMAIL PROTECTED]:~]# ngctl msg xl0: setautosrc 0
[EMAIL PROTECTED]:~]# ngctl msg xl0: setpromisc 1
[EMAIL PROTECTED]:~]# ifconfig ngeth0 ether 00:12:12:12:12:12
[EMAIL PROTECTED]:~]# dhclient ngeth0

using tcpdump I can see dhcp request leaving from ngeth0, passing
through xl0, dhcp reply comes back through xl0 but it doesn't reach
ngeth0. Why?

If I give ip-address with ifconfig, everything works fine. Also
getting ip with dhcp to xl0, without touching netgraph works fine. Any
clues?
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to