|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
bridging
From: Mario Ohnewald (mario.Ohnewald
gmx.de)
Date: Tue Aug 03 2004 - 14:35:28 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello!
I would like to connect two networks trough two BSD boxes.
I have the following scenario:
network 192.168.1.0 --->
BOX1: rl0, 192.168.1.110; rl1 10.10.2.111 --->
BOX2: rl0, 192.168.1.113; rl1 10.10.2.112 --->
network 192.168.1.0
My ifconfig output:
-----------------------
# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
address: 00:90:47:03:ac:df
media: Ethernet autoselect (none)
status: no carrier
inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::290:47ff:fe03:acdf%rl0 prefixlen 64 scopeid 0x1
rl1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
address: 00:30:84:74:ae:52
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::230:84ff:fe74:ae52%rl1 prefixlen 64 scopeid 0x2
pflog0: flags=0<> mtu 33224
pfsync0: flags=0<> mtu 2020
enc0: flags=0<> mtu 1536
bridge0: flags=41<UP,RUNNING> mtu 1500
brconfig output:
---------------------
# brconfig bridge0
bridge0: flags=41<UP,RUNNING>
Configuration:
priority 32768 hellotime 2 fwddelay 15 maxage 20
Interfaces:
rl1 flags=3<LEARNING,DISCOVER>
port 2 ifpriority 128 ifcost 55
rl0 flags=3<LEARNING,DISCOVER>
port 1 ifpriority 128 ifcost 55
Addresses (max cache: 100, timeout: 240):
00:80:48:ec:ec:5b rl1 1 flags=0<>
00:00:21:fe:4c:14 rl1 0 flags=0<>
00:00:21:0a:04:f9 rl1 1 flags=0<>
00:e0:7d:90:50:81 rl1 1 flags=0<>
rl0 is connected to my network with a ethernet cable.
on rl1 i connected a laptop with a crossover cable, and i let it ping loads
of times, however, a
tcpdump -n -i rl1
just shows me arp requests, not arp replies!
Why does rl1 not answer and learn??
Thanks, Mario
--
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]