View previous topic :: View next topic |
Author |
Message |
kracki n00b
Joined: 09 Aug 2003 Posts: 5
|
Posted: Wed May 26, 2004 6:14 am Post subject: configure vlans with ipv6 addrs ? |
|
|
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 |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Fri May 28, 2004 5:48 pm Post subject: |
|
|
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 |
|
|
|