public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] 802.1q/VLAN issue
@ 2005-08-10  2:09 Joe Rizzo
  2005-08-10 12:15 ` [gentoo-user] " Marek Więcek
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Rizzo @ 2005-08-10  2:09 UTC (permalink / raw
  To: gentoo-server, gentoo-user

I updated my gentoo system.  After emerging system and world, the system
does not work with VLANs if the interfaces are configured via the
net.eth0 script.  However if I configure the interface manually it
works.  This worked before I updated.  Any Ideas?

The conf.d/net file is below.

Thanks,
Joe Rizzo


# cat /etc/conf.d/net
config_eth0=(
    "null"
)

vlans_eth0="16"

config_eth0_16=(
    "10.8.16.16 broadcast 10.8.16.255 netmask 255.255.255.0"
)

routes_eth0_16=(
    "-net 0.0.0.0 netmask 0.0.0.0 gw 10.8.16.1"
)

# ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:50:45:5c:13:cc brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:50:45:5c:13:cd brd ff:ff:ff:ff:ff:ff
42: eth0.16: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
    link/ether 00:50:45:5c:13:cc brd ff:ff:ff:ff:ff:ff
    inet 10.8.16.16/24 brd 10.8.16.255 scope global eth0.16

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user]  Re: 802.1q/VLAN issue
  2005-08-10  2:09 [gentoo-user] 802.1q/VLAN issue Joe Rizzo
@ 2005-08-10 12:15 ` Marek Więcek
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Więcek @ 2005-08-10 12:15 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-server

Joe Rizzo wrote:

> vlans_eth0="16"
> 
> config_eth0_16=(
>     "10.8.16.16 broadcast 10.8.16.255 netmask 255.255.255.0"
> )

After some digging around I've come up with following (working) config:

vlans_eth0="16"
vconfig_eth0=( "set_name_type VLAN_PLUS_VID_NO_PAD" )

config_vlan16=(
                 "10.8.16.16 broadcast 10.8.16.255 netmask 255.255.255.0"
)

and also there is the int vlan16 instad of eth2:16

-- 
mw

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-10 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-10  2:09 [gentoo-user] 802.1q/VLAN issue Joe Rizzo
2005-08-10 12:15 ` [gentoo-user] " Marek Więcek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox