Re: Bridging-(How to test and verify that bridging is enabled)
Faizan ul haq Muhammad wrote: Hi, I am not sure but as per some internet guide, I have configured the bridge on Freebsd(7) Machine with two LAN cards on it I have compiled my KERNEL with (device if_bridge) and then added code to rc.conf cloned_interfaces=bridge0 ifconfig_bridge0=addm sk0 addm sk1 up ifconfig_sk0=up ifconfig_sk1=up I connected two linux PCs with these two interfaces (sk0 and sk1) and tried to ping between them but didnt get any success.configuration seems to be ok, but still no traffice is being passed. Can any one give any sugestion ? Regards! What does ifconfig show? ___ 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: Bridging-(How to test and verify that bridging is enabled)
Hi, I connected two linux PCs with these two interfaces (sk0 and sk1) and tried to ping between them but didnt get any success.configuration seems to be ok, but still no traffice is being passed. Can any one give any sugestion ? Stupid question, but if you connect the 2 Linux boxes directly (without the FreeBSD bridge in between) can they ping eachother? Are you using properly crossed cables? On the FreeBSD box, you can tcpdump(8) and see the packets moving: tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request and ping echo packets. Olivier ___ 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: Bridging-(How to test and verify that bridging is enabled)
Date: Mon, 2 Mar 2009 15:28:10 +0700 From: o...@cs.ait.ac.th To: faiz...@hotmail.com CC: fbsd.questi...@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fb...@a1poweruser.com Subject: Re: Bridging-(How to test and verify that bridging is enabled) Hi, I connected two linux PCs with these two interfaces (sk0 and sk1) and tried to ping between them but didnt get any success.configuration seems to be ok, but still no traffice is being passed. Can any one give any sugestion ? Stupid question Yess it is , but if you connect the 2 Linux boxes directly (without the FreeBSD bridge in between) can they ping eachother? Yes they can Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. On the FreeBSD box, you can tcpdump(8) and see the packets moving: tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request and ping echo packets. it says arp: who has 192.168.0.4 tell 192.168.0.5 Olivier _ Hotmail® is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009___ 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: Bridging-(How to test and verify that bridging is enabled)
Hi, Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. An example of ifconfig for a bridge (FreeBSD 4.xx): fxp0: flags=89c3UP,BROADCAST,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST mtu 1500 ether 00:07:e9:xx:xx:xx media: Ethernet autoselect (100baseTX full-duplex) status: active fxp1: flags=89c3UP,BROADCAST,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST mtu 1500 ether 00:07:e9:yy:yy:yy media: Ethernet autoselect (100baseTX full-duplex) status: active Once you make sure that both interfaces on your FreeBSD box are up and running, you can procced to the next step: On the FreeBSD box=2C you can tcpdump(8) and see the packets moving: tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request and ping echo packets. it says arp: who has 192.168.0.4 tell 192.168.0.5 You'd need to give more information about your connection; something like: Linux 192.168.0.4 --- sk0 FreeBSD sk1 --- Linux 192.168.0.5 And you should also specify if ou where tcpdump'ing on interface sk0 or sk1. Once your bridge is working, you will get the same thing for tcpdump on both interfaces. Olivier ___ 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: Bridging-(How to test and verify that bridging is enabled)
Date: Mon, 2 Mar 2009 16:35:33 +0700 From: o...@cs.ait.ac.th To: faiz...@hotmail.com CC: fbsd.questi...@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fb...@a1poweruser.com Subject: Re: Bridging-(How to test and verify that bridging is enabled) Hi, Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. Frankly i am not sure about the cables type but they works PC to PC connectivity. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. sk0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:69:25 media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active sk1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:67:ee media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active here is the ifconfig output for the bridge interface: bridge0: flags=8943UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 0a:54:d7:7e:aa:66 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 An example of ifconfig for a bridge (FreeBSD 4.xx): fxp0: flags=89c3UP,BROADCAST,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST mtu 1500 ether 00:07:e9:xx:xx:xx media: Ethernet autoselect (100baseTX full-duplex) status: active fxp1: flags=89c3UP,BROADCAST,RUNNING,NOARP,PROMISC,SIMPLEX,MULTICAST mtu 1500 ether 00:07:e9:yy:yy:yy media: Ethernet autoselect (100baseTX full-duplex) status: active Once you make sure that both interfaces on your FreeBSD box are up and running, you can procced to the next step: On the FreeBSD box=2C you can tcpdump(8) and see the packets moving: tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request and ping echo packets. it says arp: who has 192.168.0.4 tell 192.168.0.5 You'd need to give more information about your connection; something like: Linux 192.168.0.4 --- sk0 FreeBSD sk1 --- Linux 192.168.0.5 And you should also specify if ou where tcpdump'ing on interface sk0 or sk1. Once your bridge is working, you will get the same thing for tcpdump on both interfaces. ok here is the detail: Linux 192.168.0.5 --- sk0 FreeBSD sk1 --- Linux 192.168.0.4 ping from 192.168.0.5 to 192.168.0.4 tcpdump (on freeBSD) tcpdump -i sk0 RESULT arp: who has 192.168.0.4 tell 192.168.0.5 ping from 192.168.0.4 to 192.168.0.5 tcpdump (on freeBSD) tcpdump -i sk1 RESULT arp: who has 192.168.0.5 tell 192.168.0.4 tcpdump -i bridge0 gives nothing... Olivier _ Windows Live™ Groups: Create an online spot for your favorite groups to meet. http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009___ 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: Bridging-(How to test and verify that bridging is enabled)
Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 16:35:33 +0700 From: o...@cs.ait.ac.th To: faiz...@hotmail.com CC: fbsd.questi...@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fb...@a1poweruser.com Subject: Re: Bridging-(How to test and verify that bridging is enabled) Hi, Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. Frankly i am not sure about the cables type but they works PC to PC connectivity. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. sk0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:69:25 media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active sk1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:67:ee media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active here is the ifconfig output for the bridge interface: bridge0: flags=8943UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 0a:54:d7:7e:aa:66 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 I think ifconfig bridge0 should list member interfaces. Did you add them? ___ 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: Bridging-(How to test and verify that bridging is enabled)
Date: Mon, 2 Mar 2009 07:48:40 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 16:35:33 +0700 From: o...@cs.ait.ac.th To: faiz...@hotmail.com CC: fbsd.questi...@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fb...@a1poweruser.com Subject: Re: Bridging-(How to test and verify that bridging is enabled) Hi, Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. Frankly i am not sure about the cables type but they works PC to PC connectivity. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. sk0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:69:25 media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active sk1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:67:ee media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active here is the ifconfig output for the bridge interface: bridge0: flags=8943UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 0a:54:d7:7e:aa:66 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 I think ifconfig bridge0 should list member interfaces. Did you add them? ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up this configuration exists in rc.conf ___ 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 _ Windows Live™: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009___ 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: Bridging-(How to test and verify that bridging is enabled)
Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 07:48:40 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 16:35:33 +0700 From: o...@cs.ait.ac.th To: faiz...@hotmail.com CC: fbsd.questi...@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fb...@a1poweruser.com Subject: Re: Bridging-(How to test and verify that bridging is enabled) Hi, Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. Frankly i am not sure about the cables type but they works PC to PC connectivity. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. sk0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:69:25 media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active sk1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:67:ee media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active here is the ifconfig output for the bridge interface: bridge0: flags=8943UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 0a:54:d7:7e:aa:66 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 I think ifconfig bridge0 should list member interfaces. Did you add them? ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up this configuration exists in rc.conf if ifconfig doesn't print out something like this: bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 4a:be:26:65:75:06 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: sk0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 200 member: sk1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 20 Then you need to add the member interfaces. ___ 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: Bridging-(How to test and verify that bridging is enabled)
Date: Mon, 2 Mar 2009 08:05:09 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 07:48:40 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 16:35:33 +0700 From: o...@cs.ait.ac.th To: faiz...@hotmail.com CC: fbsd.questi...@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fb...@a1poweruser.com Subject: Re: Bridging-(How to test and verify that bridging is enabled) Hi, Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. Frankly i am not sure about the cables type but they works PC to PC connectivity. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. sk0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:69:25 media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active sk1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:67:ee media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active here is the ifconfig output for the bridge interface: bridge0: flags=8943UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 0a:54:d7:7e:aa:66 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 I think ifconfig bridge0 should list member interfaces. Did you add them? ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up this configuration exists in rc.conf if ifconfig doesn't print out something like this: bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 4a:be:26:65:75:06 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: sk0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 200 member: sk1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 20 Then you need to add the member interfaces. i noted that, following information is missing member: sk0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 200 member: sk1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 20 Now i need to know how to add the interfaces..? Any command do u knw and can help me..? Regards!!! ___ 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 _ Windows Live™: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009___ 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: Bridging-(How to test and verify that bridging is enabled)
Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 08:05:09 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 07:48:40 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 16:35:33 +0700 From: o...@cs.ait.ac.th To: faiz...@hotmail.com CC: fbsd.questi...@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fb...@a1poweruser.com Subject: Re: Bridging-(How to test and verify that bridging is enabled) Hi, Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. Frankly i am not sure about the cables type but they works PC to PC connectivity. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. sk0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:69:25 media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active sk1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:67:ee media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active here is the ifconfig output for the bridge interface: bridge0: flags=8943UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 0a:54:d7:7e:aa:66 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 I think ifconfig bridge0 should list member interfaces. Did you add them? ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up this configuration exists in rc.conf if ifconfig doesn't print out something like this: bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 4a:be:26:65:75:06 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: sk0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 200 member: sk1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 20 Then you need to add the member interfaces. i noted that, following information is missing member: sk0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 200 member: sk1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 20 Now i need to know how to add the interfaces..? Any command do u knw and can help me..? Regards!!! http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up ___ 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: Bridging-(How to test and verify that bridging is enabled)
Date: Mon, 2 Mar 2009 08:28:01 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 08:05:09 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 07:48:40 -0600 From: amvandem...@gmail.com CC: freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) Faizan ul haq Muhammad wrote: Date: Mon, 2 Mar 2009 16:35:33 +0700 From: o...@cs.ait.ac.th To: faiz...@hotmail.com CC: fbsd.questi...@rachie.is-a-geek.net; freebsd-questions@freebsd.org; fb...@a1poweruser.com Subject: Re: Bridging-(How to test and verify that bridging is enabled) Hi, Are you using properly crossed cables? Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. Frankly i am not sure about the cables type but they works PC to PC connectivity. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. sk0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:69:25 media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active sk1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 00:0a:5e:1a:67:ee media: Ethernet autoselect (1000baseTX full-duplex, flag0, flag1, flag2) status: active here is the ifconfig output for the bridge interface: bridge0: flags=8943UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=bRXCSUM, TXCSUM, VLAN_MTU ether 0a:54:d7:7e:aa:66 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 I think ifconfig bridge0 should list member interfaces. Did you add them? ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up this configuration exists in rc.conf if ifconfig doesn't print out something like this: bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 4a:be:26:65:75:06 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: sk0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 200 member: sk1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 20 Then you need to add the member interfaces. i noted that, following information is missing member: sk0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 200 member: sk1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 20 Now i need to know how to add the interfaces..? Any command do u knw and can help me..? Regards!!! http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up Thanks a lot dear.. it worked. but i m still confused that i have the alternative configuration in rc.conf as per guideline here on this page: http://www.freebsd.org/doc/en/books/handbook/network-bridging.html it should have worked, but it did not. and here with these commands, it is working.. I am able to get reply to ping Thanks a lot /Faizan ___ 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 _ Windows Live™ Contacts: Organize your contact list. http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009___
Re: Bridging-(How to test and verify that bridging is enabled)
Faizan ul haq Muhammad wrote: i noted that, following information is missing member: sk0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 1 priority 128 path cost 200 member: sk1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP ifmaxaddr 0 port 2 priority 128 path cost 20 Now i need to know how to add the interfaces..? Any command do u knw and can help me..? Regards!!! http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009 ifconfig bridge0 addm sk0 addm sk1 up ifconfig sk0 up ifconfig sk1 up Thanks a lot dear.. it worked. but i m still confused that i have the alternative configuration in rc.conf as per guideline here on this page: http://www.freebsd.org/doc/en/books/handbook/network-bridging.html it should have worked, but it did not. and here with these commands, it is working.. I am able to get reply to ping Make sure you got the full config in there adjusted to your settings: cloned_interfaces=bridge0 ifconfig_bridge0=addm fxp0 addm fxp1 up ifconfig_fxp0=up ifconfig_fxp1=up And that you've rebooted. Assuming you've done those steps correctly, it should work. Generally issue's like that are rooted in typo's and misconfigurations. As your typo count gets incremented, you will learn humility. ;) Least that's how it was for me. Another good rule of thumb is if you're following the handbook and it's still doesn't work then you're not following the handbook. Glad it works for you. ___ 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