vlan - pls help

From: ann kok (annkok2001_at_yahoo.com)
Date: 06/14/05

  • Next message: Julian H. Stacey: "Re: vlan - pls help"
    Date: Mon, 13 Jun 2005 16:23:59 -0700 (PDT)
    To: freebsd-isp@freebsd.org, freebsd-questions@freebsd.org
    
    

    Dear all

    I am using freebsd 4.1 to setup 30 vlan on em1

    I tried to connect linux box ip address 192.168.1.5/30
    to the freebsd interface em1 with cross over cable

    but they can't ping each other

    1/ Could you help me how to check the problem?
    2/ how can I know the vlan is working?

    I did compile the kernel "pseudo-device vlan 30"
        
    reboot and then ifconfig

    ifconfig vlan0 192.168.1.2 netmask 255.255.255.252
    vlan 108 vlandev em1 mtu 1500 up
    ifconfig vlan1 192.168.1.6 netmask 255.255.255.252
    vlan 109 vlandev em1 mtu 1500 up

    vlan0:
    flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
    1500
            inet 192.168.1.2 netmask 0xfffffffc broadcast
    192.168.1.3
            ether 00:0e:0c:5d:75:d4
            media: Ethernet autoselect (100baseTX
    <full-duplex>)
            status: active
            vlan: 108 parent interface: em1
    vlan1:
    flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
    1500
            inet 192.168.1.6 netmask 0xfffffffc broadcast
    192.168.1.7
            ether 00:0e:0c:5d:75:d4
            media: Ethernet autoselect (100baseTX
    <full-duplex>)
            status: active
            vlan: 109 parent interface: em1

     

     netstat -rn -f inet
    Routing tables

    Internet:
    Destination Gateway Flags Refs
      Use Netif Expire
    default 202.64.230.1 UGSc 0
         0 em0
    192.168.1/30 link#5 UC 0
        0 vlan0
    192.168.1.4/30 link#6 UC 1
        0 vlan1
    192.168.1.5 link#6 UHLW 0
        3 vlan1
    202.64.230/24 link#1 UC 3
         0 em0
    202.64.230.1 00:0c:6e:99:80:71 UHLW 1
         0 em0 1175
    202.64.230.13 00:04:23:ab:75:41 UHLW 2
       936 em0 949
    202.64.230.254 00:40:05:8a:2e:01 UHLW 0
        11 em0 736
    127.0.0.1 127.0.0.1 UH 0
        0 lo0

    Thank you so much

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Julian H. Stacey: "Re: vlan - pls help"