From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 23:24:03 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AAD516A41F for ; Mon, 13 Jun 2005 23:24:03 +0000 (GMT) (envelope-from annkok2001@yahoo.com) Received: from web53302.mail.yahoo.com (web53302.mail.yahoo.com [206.190.39.231]) by mx1.FreeBSD.org (Postfix) with SMTP id E8FDE43D48 for ; Mon, 13 Jun 2005 23:24:02 +0000 (GMT) (envelope-from annkok2001@yahoo.com) Received: (qmail 88016 invoked by uid 60001); 13 Jun 2005 23:23:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rYHZLcMSYgfy4Hn1UH9RTChqqP3AzhfPhKuYQsRGS17dE9+0Op6+mibLq3ZBF99WFhw0jWFmjdeSpQIQpEFF0UDdrBAfZI1sedLM5kgBRyKVwEW+XK3SXKeFg6zSkheYtvYO2oWMSsEqmbXCev6sMzi7VQMMBtpvTYaj85bklu4= ; Message-ID: <20050613232359.88014.qmail@web53302.mail.yahoo.com> Received: from [66.49.254.13] by web53302.mail.yahoo.com via HTTP; Mon, 13 Jun 2005 16:23:59 PDT Date: Mon, 13 Jun 2005 16:23:59 -0700 (PDT) From: ann kok To: freebsd-isp@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: vlan - pls help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 23:24:03 -0000 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 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 ) status: active vlan: 108 parent interface: em1 vlan1: flags=8843 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 ) 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