Hi all,

I have one old p166-box running 5.0 and an athlon. I am trying to let the athlon 
connect to the net through a bridge on the p166. I have a 100 mbit socket in the wall 
at my room which is at a student's house. The dhcp servers assignes 10.10.X.X 
adresses, and the internet connection is set up with a tunnel (vpn/mpd) against a 
gateway server. The athlon also runs MS Windows with netbeui and ipx/spx which is why 
I want the Freebsd-machine to work as a bridge and not as a router.

Everything works fine, except my two machines cannot contact one another at the 
dhcp-assigned 10.10-adresses. Pinging simply times out. I get contact using the 
internet adresses through the internet connection tunnels, but linking up through the 
vpn gateway is ten times slower than what a direct connection should be. Setting up 
smb/nfs-shares through such a tunnel is also unpractical.

I have two realtek-cards and one 3com card using the xl driver and I have tried 
different combinations of setups with no difference. I have used the athlon as a 
bridge with MS windows, and it worked perfectly. 

the handbook section 19.4.6 says it is a bad idea to assign both interfaces an address 
prior to bridging them.

I could by a switch, but it costs money. I could use the athlon as a bridge, but I 
don't want the uptime of the p166 to depend on the athlon.

I suspect this might be a routing issue, and I have played around abit with adding a 
route with the athlon-10.10.-ip pointing to the network card connected to it (rl0) 
with no luck. I have also tried to add routes on the athlon. I've tried assiging rl0 
the ip adress it usually gets from the dhcp-server, which is based on its mac-adress,, prior to issuing the bridging command. 

Below is the output of netstat -r and ifconfig. xl0 is connected to the plug in the 
wall, rl0 is connected to the athlon which gets an adress of from dhcp. 

Pinging from the athlon gives response with time<1ms even though this 
adress does not appear anywhere in the freebsd-box.

Any suggestions?


# netstat -r
Routing tables

Destination        Gateway            Flags    Refs      Use  Netif Expire
default            uib-gw3.uib.no     UGSc        1        3    ng0
10                 fantoft-gw.fantoft UGSc        2        0    xl0
10.10.64/20        link#1             UC          1        0    xl0
fantoft-gw.fantoft 00:10:2f:ef:c4:1c  UHLW        3        0    xl0   1071
localhost          localhost          UH          0        0    lo0
uib-gw3.uib.no     tunnel-43-204.vpn. UH          2        0    ng0
# ifconfig
        inet netmask 0xfffff000 broadcast
        ether 00:60:08:92:a5:68
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        ether 00:50:bf:e7:69:f1
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet netmask 0xff000000
        inet --> netmask 0xffffffff

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to