Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Mar 2002 20:09:18 +0300 (MSK)
From:      Eugene Mitrofanov <eugene@imedia.ru>
To:        questions@FreeBSD.ORG, stable@FreeBSD.ORG
Subject:   Is ng_bridge broken in 4.5?
Message-ID:  <XFMail.20020212134850.eugene@imedia.ru>

next in thread | raw e-mail | index | archive | help
Hi.

My vmware2 use netgraph bridge to access the network. In 4.4 all work fine.
But after upgrade to 4.5 I got some trouble. I can't ping my FBSD box
under vmware, but all other boxes in network are reaching fine.

My configuration:

--------+
    xl0 - 172.17.1.206/16   <--> 172.17/16 (DHCP server, Internet, etc)
        |
FBSD 4.5|
        +-----------------------------------------------------------+
 vmnet1 - 172.17.240.241/16 <--> 172.17.5.121/16 (vmware2, win98se) |
--------------------------------------------------------------------+

Some usefull info:

Win98SE (guest OS) use DHCP server for assigning IP address, DNSes &
default gateway. 

-----    
box$ ping 172.17.1.206
PING 172.17.1.206 (172.17.1.206): 56 data bytes
64 bytes from 172.17.1.206: icmp_seq=0 ttl=64 time=0.162 ms

-----
box$ ping 172.17.240.241
PING 172.17.240.241 (172.17.240.241): 56 data bytes
ping: sendto: Host is down

and in the same time we can see next 

box# tcpdump -i xl0 host 172.17.240.241
tcpdump: listening on xl0
arp who-has 172.17.240.241 tell 172.17.1.206
arp who-has 172.17.240.241 tell 172.17.1.206
.....

-----
c:\Program files\FAR> ping 172.17.1.206
pinging 172.17.1.206
timeout
...
timeout

and in the same time

box# tcpdump -i vmnet1 host 172.17.5.121
tcpdump: listening on vmnet1
172.17.1.206 > 172.17.5.121: icmp: echo reply
172.17.1.206 > 172.17.5.121: icmp: echo request
172.17.1.206 > 172.17.5.121: icmp: echo request
172.17.1.206 > 172.17.5.121: icmp: echo request
172.17.1.206 > 172.17.5.121: icmp: echo request
172.17.1.206 > 172.17.5.121: icmp: echo request
172.17.1.206 > 172.17.5.121: icmp: echo request
172.17.5.121 > 172.17.1.206: icmp: echo request
172.17.1.206 > 172.17.5.121: icmp: echo reply
....

----
c:\Program files\FAR> ping 172.17.0.1

answer, size=32 bytes, time=21ms, TTL=64
.....

c:\Program files\FAR> ping www.mtu.ru

pinging 195.34.32.10
answer, size=32 bytes, time=157ms, TTL=248
.....


----
box# uname -a
FreeBSD badger.imedia.ru 4.5-RELEASE FreeBSD 4.5-RELEASE #29: Tue Feb  5
11:00:19 MSK 2002
root@badger.imedia.ru:/var/devel/CVSUP/src/sys/compile/BADGER i386

box# kldstat
Id Refs Address    Size     Name
 1   15 0xc0100000 2873d0   kernel
 2    1 0xc0388000 542c     snd_es137x.ko
 3    1 0xc038e000 157b4    snd_pcm.ko
 4    1 0xc0f92000 c3000    vinum.ko
 5    1 0xc1088000 7000     linprocfs.ko
 6    1 0xc1112000 2000     green_saver.ko
 7    3 0xc11c0000 15000    linux.ko
 8    1 0xc1115000 2000     rtc.ko
10    1 0xc12b6000 4000     if_tap.ko
12    1 0xc13d2000 3000     ng_socket.ko
13    3 0xc13d8000 9000     netgraph.ko
15    1 0xc13e1000 3000     ng_ether.ko
16    1 0xc13e4000 4000     ng_bridge.ko
17    1 0xc12aa000 9000     vmmon_up.ko
18    1 0xc17de000 8000     cd9660.ko

box# ifconfig -a
xl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=3<rxcsum,txcsum>
        inet 172.17.1.206 netmask 0xffff0000 broadcast 172.17.255.255
        atalk 228.127 range 220-230 phase 2 broadcast 0.255
        ether 00:50:da:cd:b2:0e 
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
        atalk 0.0 range 0-0 phase 2
vmnet1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 172.17.240.241 netmask 0xffff0000 broadcast 172.17.255.255
        ether 00:bd:e7:14:00:01 
        Opened by PID 41162

box# netstat -nr -f inet
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            172.17.0.1         UGSc       34       75    xl0
127.0.0.1          127.0.0.1          UH          3   102683    lo0
172.17             link#1             UC         11        0    xl0
172.17.0.1         0:d0:b7:a9:f:f9    UHLW       38  5864104    xl0   1193
172.17.1.206       0:50:da:cd:b2:e    UHLW        2     1114    lo0
172.17.5.121       0:bd:e7:da:d5:31   UHLW        1     1336    xl0    762
172.17.120.66      link#1             UHLW        1       49    xl0
172.17.124.5       0:50:8b:69:c3:d5   UHLW        0      714    xl0   1195
172.17.124.209     0:d0:b7:a9:37:c8   UHLW        1    55166    xl0   1199
172.17.255.255     ff:ff:ff:ff:ff:ff  UHLWb       2     2018    xl0

Good luck
- - - - 8< - - - - - - - - - - - - - - - - - - - - - - - - - 8< - - - -
Eugene V. Mitrofanov, EMIT-RIPN                       Independent Media 
System Administrator                               http://www.eStart.ru
                                                 http://www.business.ru

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020212134850.eugene>