Re: Netgraph VLan support
bump On Tue, Feb 23, 2010 at 3:32 PM, Ross Cameron ross.came...@linuxpro.co.za 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 ross.came...@linuxpro.co.za 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
Re: vlan support
Mike Tancsa wrote: On 12 Jan 2004 09:33:32 +0500, in sentex.lists.freebsd.questions you wrote: How do you do! ifconfig_vlan2=inet 192.168.100.1 netmask 255.255.255.0 vlan 4 vlandev rl0 Catalyst settings were write because it works with cisco router. I am pretty sure the Realtek Driver does not support the larger packet size to handle 802.1q frames. See man vlan. I have used dc and fxp based cards with great results, but nothing on the realtek. ---Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'm sure the realtek supports VLAN in hardware, and I know the 5.2 driver also supports it. I'm not so sure about 4.x, though. Gilad ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vlan support
On 12 Jan 2004 09:33:32 +0500, in sentex.lists.freebsd.questions you wrote: How do you do! ifconfig_vlan2=inet 192.168.100.1 netmask 255.255.255.0 vlan 4 vlandev rl0 Catalyst settings were write because it works with cisco router. I am pretty sure the Realtek Driver does not support the larger packet size to handle 802.1q frames. See man vlan. I have used dc and fxp based cards with great results, but nothing on the realtek. ---Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vlan support
How do you do! I've got FreeBSD 5.1-RELEASE from ftp://ftp.FreeBSD.org I have a small net with switch Cisco Catalyst 2950 and Cisco Router 2650. The purpose is to replace 2650 router. I've include vlan support in kernel. Correspondingly, my /etc/rc.conf : ifconfig_rl0=inet 192.168.10.1 netmask 255.255.255.252 cloned_interfaces=vlan0 vlan1 vlan2 ifconfig_vlan0=inet xxx.xxx.xxx.xxx netmask 255.255.255.240 vlan 2 vlandev rl0 ifconfig_vlan0_alias0=inet yyy.yyy.yyy.yyy netmask 255.255.255.248 ifconfig_vlan0_alias1=inet zzz.zzz.zzz.zzz netmask 255.255.255.192 ifconfig_vlan1=inet 192.168.253.2 netmask 255.255.255.252 vlan 3 vlandev rl0 ifconfig_vlan2=inet 192.168.100.1 netmask 255.255.255.0 vlan 4 vlandev rl0 Catalyst settings were write because it works with cisco router. When I'd reboot my FreeBSD machine I saw that my FreeBSD router didn't forward packets between interfaces. # tail -f /var/log/messages Jan 12 06:41:16 router kernel: vlan1: discard oversize frame (ether type 800 flags 3 len 1514 max 1510) I have change my mty to 1514 but it didn't help. How can I repair that? With respect, Dmitriy Kurilov. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]