Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configure vlans with ipv6 addrs ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kracki
n00b
n00b


Joined: 09 Aug 2003
Posts: 5

PostPosted: Wed May 26, 2004 6:14 am    Post subject: configure vlans with ipv6 addrs ? Reply with quote

Hi folks,
i need some help. I want to set up my network environment in this way:
four vlans, three of them with ipv6 addr. one of them with ipv4 addr. These vlans are eth0.6 eth0.21 eth0.22 eth0.23. eth0.21 has ipv4 addr.
I found that i need to set up these things in /etc/conf.d/net
(expamle)
iface_eth0="0.0.0.0"
iface_eth0_vlans="101 102"
iface_eth0_100="192.168.100.1 broadcast 192.168.100.255 netmask 255.255.255.0"
iface_eth0_102="192.168.102.1 broadcast 192.168.102.255 netmask 255.255.255.0"

it's nice but i need to set up ipv6 addrs. how can i do that ? thanks
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Fri May 28, 2004 5:48 pm    Post subject: Reply with quote

Looking at /etc/init.d/net.eth0
Code:
# setup_vars: setup variables based on $1 and content of /etc/conf.d/net
# The following variables are set, which should be declared local by
# the calling routine.
#       status_IFACE    (up or '')
#       vlans_IFACE             (space-separated list)
#       ifconfig_IFACE  (array of ifconfig lines, replaces iface_IFACE)
#       dhcpcd_IFACE    (command-line args for dhcpcd)
#       routes_IFACE    (array of route lines)
#       inet6_IFACE             (array of inet6 lines)

Did you try adding a "inet6_IFACE" lines to /etc/conf.d/net?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum