Re: Netgraph VLan support
bump On Tue, Feb 23, 2010 at 3:32 PM, Ross Cameron wrote: > Hi there all > > I've trying to setup nested VLans using netgraph and most of my > googling suggests that this can be done. > But alas it is not working on this side. I'm running a standard > FreeBSD 8.0-RELEASE-p2 AMD64. > > The below works just fine and creates a perfectly functional Vlan > interface ngeth0: > > ifconfig bge0 10.123.0.1 netmask 255.255.255.0 > kldload ng_ether > kldload ng_vlan > ngctl mkpeer bge0: vlan lower downstream > ngctl name bge0:lower vlanL1 > ngctl connect bge0: vlanL1: upper nomatch > ngctl mkpeer vlanL1: eiface vlan3555 ether > ngctl msg vlanL1: addfilter '{ vlan=3555 hook="vlan3555" }' > ifconfig ngeth0 link 00:1a:4b:d4:3e:c2 > ifconfig ngeth0 10.124.0.1 netmask 255.255.255.0 > > The below however does not and just throws an error : > - > ngctl mkpeer ngeth0: vlan lower downstream > ngctl name ngeth0:lower vlanL2 > ngctl connect ngeth0: vlanL2: upper nomatch > ngctl mkpeer vlanL2: eiface vlan2555 ether > ngctl msg vlanL2: addfilter '{ vlan=2555 hook="vlan2555" }' > ifconfig ngeth1 link 00:1a:4b:d4:3e:c2 > ifconfig ngeth1 10.125.0.1 netmask 255.255.255.0 > > The error is: > > ngctl: send msg: Protocol family not supported > ngctl: send msg: No such file or directory > > > > Any advice? > > > > > > -- > "Opportunity is most often missed by people because it is dressed in > overalls and looks like work." > Thomas Alva Edison > Inventor of 1093 patents, including: > The light bulb, phonogram and motion pictures. > -- "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Netgraph VLan support
Bump On Tue, Feb 23, 2010 at 3:32 PM, Ross Cameron wrote: > Hi there all > > I've trying to setup nested VLans using netgraph and most of my > googling suggests that this can be done. > But alas it is not working on this side. I'm running a standard > FreeBSD 8.0-RELEASE-p2 AMD64. > > The below works just fine and creates a perfectly functional Vlan > interface ngeth0: > > ifconfig bge0 10.123.0.1 netmask 255.255.255.0 > kldload ng_ether > kldload ng_vlan > ngctl mkpeer bge0: vlan lower downstream > ngctl name bge0:lower vlanL1 > ngctl connect bge0: vlanL1: upper nomatch > ngctl mkpeer vlanL1: eiface vlan3555 ether > ngctl msg vlanL1: addfilter '{ vlan=3555 hook="vlan3555" }' > ifconfig ngeth0 link 00:1a:4b:d4:3e:c2 > ifconfig ngeth0 10.124.0.1 netmask 255.255.255.0 > > The below however does not and just throws an error : > - > ngctl mkpeer ngeth0: vlan lower downstream > ngctl name ngeth0:lower vlanL2 > ngctl connect ngeth0: vlanL2: upper nomatch > ngctl mkpeer vlanL2: eiface vlan2555 ether > ngctl msg vlanL2: addfilter '{ vlan=2555 hook="vlan2555" }' > ifconfig ngeth1 link 00:1a:4b:d4:3e:c2 > ifconfig ngeth1 10.125.0.1 netmask 255.255.255.0 > > The error is: > > ngctl: send msg: Protocol family not supported > ngctl: send msg: No such file or directory > > > > Any advice? > > > > > > -- > "Opportunity is most often missed by people because it is dressed in > overalls and looks like work." > Thomas Alva Edison > Inventor of 1093 patents, including: > The light bulb, phonogram and motion pictures. > -- "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Netgraph VLan support
Hi there all I've trying to setup nested VLans using netgraph and most of my googling suggests that this can be done. But alas it is not working on this side. I'm running a standard FreeBSD 8.0-RELEASE-p2 AMD64. The below works just fine and creates a perfectly functional Vlan interface ngeth0: ifconfig bge0 10.123.0.1 netmask 255.255.255.0 kldload ng_ether kldload ng_vlan ngctl mkpeer bge0: vlan lower downstream ngctl name bge0:lower vlanL1 ngctl connect bge0: vlanL1: upper nomatch ngctl mkpeer vlanL1: eiface vlan3555 ether ngctl msg vlanL1: addfilter '{ vlan=3555 hook="vlan3555" }' ifconfig ngeth0 link 00:1a:4b:d4:3e:c2 ifconfig ngeth0 10.124.0.1 netmask 255.255.255.0 The below however does not and just throws an error : - ngctl mkpeer ngeth0: vlan lower downstream ngctl name ngeth0:lower vlanL2 ngctl connect ngeth0: vlanL2: upper nomatch ngctl mkpeer vlanL2: eiface vlan2555 ether ngctl msg vlanL2: addfilter '{ vlan=2555 hook="vlan2555" }' ifconfig ngeth1 link 00:1a:4b:d4:3e:c2 ifconfig ngeth1 10.125.0.1 netmask 255.255.255.0 The error is: ngctl: send msg: Protocol family not supported ngctl: send msg: No such file or directory Any advice? -- "Opportunity is most often missed by people because it is dressed in overalls and looks like work." Thomas Alva Edison Inventor of 1093 patents, including: The light bulb, phonogram and motion pictures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"