Re: vlan - pls help
Hi ann, as few/far as I know, you cannot ping from one vlan to another. thats the clue. you have to free the ports on the switch to allow trunking. I used this http://www.expresshosting.net/howto/VLAN-802.1q-Tagging-in-FreeBSD-For-Rate-Limiting-and-Firewalling.html howto, and could send vlan frames, but I am not sure if they are working. (no hardware yet) In the howto above a cisco device is configured. The em(4)driver is vlan capable, you should see something like VLAN_MTU next to UP,BROADCAST and so on. you should be capable to generate 8021.q Frames. btw. you used the same arp adresses. does this make sense? I asked that here: http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089833.html good look wmiuser/[EMAIL PROTECTED] --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCqHSPMXftaIGFSAwRAgq8AJ0Yud3nbczrd1Wqx1CirlAoAnIsMQCdGxP1 UwCw49+xc3Qb+QM812ALVX4= =1llJ -END PGP SIGNATURE- --Nq2Wo0NMKNjxTN9z-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vlan - pls help
On Mon, Jun 13, 2005 at 04:23:59PM -0700, ann kok wrote: ifconfig vlan0 192.168.1.2 netmask 255.255.255.252 ifconfig vlan1 192.168.1.6 netmask 255.255.255.252 255.255.255.255 ??? Obviously it won't be able to see any other addresses -- Chris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vlan - pls help
On Tue, Jun 14, 2005 at 11:18:35AM +0200, Chris Knipe wrote: On Mon, Jun 13, 2005 at 04:23:59PM -0700, ann kok wrote: ifconfig vlan0 192.168.1.2 netmask 255.255.255.252 ifconfig vlan1 192.168.1.6 netmask 255.255.255.252 255.255.255.255 ??? Obviously it won't be able to see any other addresses I'm being a idiot again... Please excuse me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: vlan - pls help
Hi all Thank you for your help and info the url is useful and same as what I did Any help is much appreciated: I used the tcpdump in the freebsd box the freebox 192.168.1.6 is receiving the linux box 192.168.1.5 but why they can't ping each other! in freebsd box. ping 192.168.1.5 PING 192.168.1.5 (192.168.1.5): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down but itself is fine ping 192.168.1.6 PING 192.168.1.6 (192.168.1.6): 56 data bytes 64 bytes from 192.168.1.6: icmp_seq=0 ttl=64 time=0.019 ms For the mac address of all vlans, it should be same as the parant interface. but I am new for it. Sorry tcpdump -ei em1 tcpdump: WARNING: em1: no IPv4 address assigned tcpdump: listening on em1 12:36:51.586368 0:3:47:c1:96:ca Broadcast arp 60: arp who-has 192.168.1.6 tell 192.168.1.5 12:36:52.586217 0:3:47:c1:96:ca Broadcast arp 60: arp who-has 192.168.1.6 tell 192.168.1.5 12:36:53.586346 0:3:47:c1:96:ca Broadcast arp 60: arp who-has 192.168.1.6 tell 192.168.1.5 12:36:54.585972 0:3:47:c1:96:ca Broadcast arp 60: arp who-has 192.168.1.6 tell 192.168.1.5 Thank you --- Wolfgang Lausenbart [EMAIL PROTECTED] wrote: Hi ann, as few/far as I know, you cannot ping from one vlan to another. thats the clue. you have to free the ports on the switch to allow trunking. I used this http://www.expresshosting.net/howto/VLAN-802.1q-Tagging-in-FreeBSD-For-Rate-Limiting-and-Firewalling.html howto, and could send vlan frames, but I am not sure if they are working. (no hardware yet) In the howto above a cisco device is configured. The em(4)driver is vlan capable, you should see something like VLAN_MTU next to UP,BROADCAST and so on. you should be capable to generate 8021.q Frames. btw. you used the same arp adresses. does this make sense? I asked that here: http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089833.html good look wmiuser/[EMAIL PROTECTED] --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCqHSPMXftaIGFSAwRAgq8AJ0Yud3nbczrd1Wqx1CirlAoAnIsMQCdGxP1 UwCw49+xc3Qb+QM812ALVX4= =1llJ -END PGP SIGNATURE- --Nq2Wo0NMKNjxTN9z-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
vlan - pls help
Dear all I am using freebsd 4.1 to setup 30 vlan on em1 I tried to connect linux box ip address 192.168.1.5/30 to the freebsd interface em1 with cross over cable but they can't ping each other 1/ Could you help me how to check the problem? 2/ how can I know the vlan is working? I did compile the kernel pseudo-device vlan30 reboot and then ifconfig ifconfig vlan0 192.168.1.2 netmask 255.255.255.252 vlan 108 vlandev em1 mtu 1500 up ifconfig vlan1 192.168.1.6 netmask 255.255.255.252 vlan 109 vlandev em1 mtu 1500 up vlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.2 netmask 0xfffc broadcast 192.168.1.3 ether 00:0e:0c:5d:75:d4 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 108 parent interface: em1 vlan1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.6 netmask 0xfffc broadcast 192.168.1.7 ether 00:0e:0c:5d:75:d4 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 109 parent interface: em1 netstat -rn -f inet Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default202.64.230.1UGSc0 0em0 192.168.1/30 link#5 UC 0 0 vlan0 192.168.1.4/30 link#6 UC 1 0 vlan1 192.168.1.5link#6 UHLW0 3 vlan1 202.64.230/24 link#1 UC 3 0em0 202.64.230.100:0c:6e:99:80:71 UHLW1 0em0 1175 202.64.230.13 00:04:23:ab:75:41 UHLW2 936em0949 202.64.230.254 00:40:05:8a:2e:01 UHLW0 11em0736 127.0.0.1 127.0.0.1 UH 0 0lo0 Thank you so much __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]