On 07/05/2012 12:35 AM, Andreas Rittershofer wrote: > I want to test shorewall6 in a scenario with several virtual > machines. Each virtual machine has the interface eth0. > > With IPv4, I would assign an IP-alias to eth0:1 and so would have > eth0 and eth0:1 as interfaces for shorewall6. > > How is this done with IPv6?
I am unclear on the question; are you asking how to assign both an IPv4 and an IPv6 address to an interface? If you are using your distribution's network config tools, the answer is distribution-dependent. For example, on Debian-based systems the name 'eth0' is used for both the IPv4 and IPv6 interfaces. /etc/network/interfaces: auto eth2 iface eth2 inet static address 172.20.1.254 netmask 255.255.255.0 network 172.20.1.0 broadcast 172.20.1.255 iface eth2 inet6 static address 2001:470:b:787::1 netmask 64 Manually, you can simply use 'ip addr add' the same way as you would for IPv4. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users