Re: if_bridge interface confuses Windows Small Business Server 2000
On Tuesday 15 November 2005 13:43, Steve Bertrand wrote: I'm a wee bit confused here, but I do understand what you are trying to do. First, did you compile a new kernel with the following option?: options BRIDGE Second, try giving both PC's a static IP address, and disconnect the FBSD box entirely from the network (so you essentially have a 2 pc network), then commence testing. HTH, Steve Steve Thanks for the reply I didn't recompile a kernel specifically for this. I thought the bridge was a KLD (/boot/kernel/if_bridge.ko)? ifconfig shows the bridge as running. [EMAIL PROTECTED] ifconfig rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::2e0:4cff:fe77:27f0%rl0 prefixlen 64 scopeid 0x2 inet 192.168.0.181 netmask 0xff00 broadcast 192.168.0.255 ether 00:e0:4c:77:27:f0 media: Ethernet autoselect (100baseTX full-duplex) status: active rl1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::2e0:4cff:fe12:a7d9%rl1 prefixlen 64 scopeid 0x3 ether 00:e0:4c:12:a7:d9 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff00 bridge0: flags=8041UP,RUNNING,MULTICAST mtu 1500 ether ac:de:48:01:fb:93 priority 32768 hellotime 2 fwddelay 15 maxage 20 member: rl1 flags=3LEARNING,DISCOVER member: rl0 flags=3LEARNING,DISCOVER Here is my setup: bridge0 / \ _ | | / \ rl0 \+-+/rl1 ++ { NETWORK }-|alfie|-|fred| \_/ +-+ ++ FreeBSD Win2k So if I disconnect alfie, fred will lose connectivity too. Hopefully this clears up what I meant... regards Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: if_bridge interface confuses Windows Small Business Server 2000
On Nov 15, 2005, at 10:52 PM, Erik Osterholm wrote: On Tue, Nov 15, 2005 at 08:43:18AM -0500, Steve Bertrand wrote: FreeBSD 6 came at the perfect time for me. I've just switched my primary desktop from Win2k to FreeBSD, and I put the Windows boot disk in an old machine that was heading for the skip. I wanted to access the W2k machine (fred) over VNC without flooding our switch, so I thought let's take advantage of the new features in REL 6... I added a second ethernet card to my FreeBSD box (alfie) and configured a bridge in /etc/rc.conf: Don't worry about flooding the switch with VNC. I use it very well over a 33.6 modem from my mac to a win2k3 server. - Eric F Crist Secure Computing Networks http://www.secure-computing.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: if_bridge interface confuses Windows Small Business Server 2000
On Wednesday 16 November 2005 04:52, Erik Osterholm wrote: This should not be necessary with if_bridge. A kernel module must be loaded before if_bridge will work, but seems to load automatically when creating the bridge interface. Alternatively, if_bridge can be compiled into the kernel with the following line: device if_bridge I've even read where the bridge(4) bridging mode is deprecated. Does anyone know if this is accurate? Erik I'm definitely using if_bridge, not bridge. And I read that bridge is depreciated too. I'm starting to wonder if it's Small Business Server malfunctioning. Not the first time we've wanted chuck it out the window!!! Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
if_bridge interface confuses Windows Small Business Server 2000
FreeBSD 6 came at the perfect time for me. I've just switched my primary desktop from Win2k to FreeBSD, and I put the Windows boot disk in an old machine that was heading for the skip. I wanted to access the W2k machine (fred) over VNC without flooding our switch, so I thought let's take advantage of the new features in REL 6... I added a second ethernet card to my FreeBSD box (alfie) and configured a bridge in /etc/rc.conf: ifconfig_rl0=DHCP ifconfig_rl1=up cloned_interfaces=bridge0 ifconfig_bridge0=addm rl0 addm rl1 up gateway_enable=YES SBS is configured to give a static DHCP lease of 192.168.0.181 to alfie; fred is dynamic and is currently 192.168.0.35. At first everything seemed fine, and fred operates as if it was plugged straight into the network. But... 1) SBS sees both machines as alfie, even though it correctly reports the MAC addresses of each machine 2) On alfie, when I want to make a VNC connection to fred I have to type vnc viewer alfie(!) 3) On fred, if I ping alfie it returns 192.168.0.35 as the IP number, not 181 which is the static lease. I assume this is a bug in if_bridge, only because I assumed that bridge interfaces should be transparent (and act like a physical switch). When we get some small switches in I'll use one to connect the two machines together, but I'd still like to work out what's going on here. Am I doing something wrong? Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: if_bridge interface confuses Windows Small Business Server 2000
FreeBSD 6 came at the perfect time for me. I've just switched my primary desktop from Win2k to FreeBSD, and I put the Windows boot disk in an old machine that was heading for the skip. I wanted to access the W2k machine (fred) over VNC without flooding our switch, so I thought let's take advantage of the new features in REL 6... I added a second ethernet card to my FreeBSD box (alfie) and configured a bridge in /etc/rc.conf: ifconfig_rl0=DHCP ifconfig_rl1=up cloned_interfaces=bridge0 ifconfig_bridge0=addm rl0 addm rl1 up gateway_enable=YES SBS is configured to give a static DHCP lease of 192.168.0.181 to alfie; fred is dynamic and is currently 192.168.0.35. At first everything seemed fine, and fred operates as if it was plugged straight into the network. But... 1) SBS sees both machines as alfie, even though it correctly reports the MAC addresses of each machine 2) On alfie, when I want to make a VNC connection to fred I have to type vnc viewer alfie(!) 3) On fred, if I ping alfie it returns 192.168.0.35 as the IP number, not 181 which is the static lease. I assume this is a bug in if_bridge, only because I assumed that bridge interfaces should be transparent (and act like a physical switch). When we get some small switches in I'll use one to connect the two machines together, but I'd still like to work out what's going on here. Am I doing something wrong? I'm a wee bit confused here, but I do understand what you are trying to do. First, did you compile a new kernel with the following option?: options BRIDGE Second, try giving both PC's a static IP address, and disconnect the FBSD box entirely from the network (so you essentially have a 2 pc network), then commence testing. HTH, Steve Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: if_bridge interface confuses Windows Small Business Server 2000
On Tue, Nov 15, 2005 at 08:43:18AM -0500, Steve Bertrand wrote: FreeBSD 6 came at the perfect time for me. I've just switched my primary desktop from Win2k to FreeBSD, and I put the Windows boot disk in an old machine that was heading for the skip. I wanted to access the W2k machine (fred) over VNC without flooding our switch, so I thought let's take advantage of the new features in REL 6... I added a second ethernet card to my FreeBSD box (alfie) and configured a bridge in /etc/rc.conf: ifconfig_rl0=DHCP ifconfig_rl1=up cloned_interfaces=bridge0 ifconfig_bridge0=addm rl0 addm rl1 up gateway_enable=YES SBS is configured to give a static DHCP lease of 192.168.0.181 to alfie; fred is dynamic and is currently 192.168.0.35. At first everything seemed fine, and fred operates as if it was plugged straight into the network. But... 1) SBS sees both machines as alfie, even though it correctly reports the MAC addresses of each machine 2) On alfie, when I want to make a VNC connection to fred I have to type vnc viewer alfie(!) 3) On fred, if I ping alfie it returns 192.168.0.35 as the IP number, not 181 which is the static lease. I assume this is a bug in if_bridge, only because I assumed that bridge interfaces should be transparent (and act like a physical switch). When we get some small switches in I'll use one to connect the two machines together, but I'd still like to work out what's going on here. Am I doing something wrong? I'm a wee bit confused here, but I do understand what you are trying to do. First, did you compile a new kernel with the following option?: options BRIDGE This should not be necessary with if_bridge. A kernel module must be loaded before if_bridge will work, but seems to load automatically when creating the bridge interface. Alternatively, if_bridge can be compiled into the kernel with the following line: device if_bridge I've even read where the bridge(4) bridging mode is deprecated. Does anyone know if this is accurate? Second, try giving both PC's a static IP address, and disconnect the FBSD box entirely from the network (so you essentially have a 2 pc network), then commence testing. HTH, Steve Ashley Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]