On 7/5/2012 12:38 PM, Andreas Rittershofer wrote:
> Am 05.07.2012 um 17:53 schrieb Brad Clarke:
>
>> On Thu, Jul 5, 2012 at 10:44 AM, Andreas Rittershofer
>> <andr...@rittershofer.de> wrote:
>>> Am 05.07.2012 um 16:17 schrieb Tom Eastep:
>>>
>>>> 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
>>> No, this is not my problem.
>>>
>>> I have ONE virtual machine which I want to use for testing shorewall6. This 
>>> virtual machine has one network interface: eth0
>>>
>>> With IPv4 it would be no problem to assign this interface two ip-addresses 
>>> AND to have two interface names: eth0:0 and eth0:1 for example. But I want 
>>> to test shorewall6.
>>>
>>> How do I assign this interface two IPv6-addresses in a way that I have two 
>>> interface names - one for each IPv6-address?
>>>
>>> I need two different interface names for the configuration of shorewall6, 
>>> because our real firewall has two physical network interfaces and I want to 
>>> test the setup with this virtual machine.
>>>
>> I'd just give the VM a second virtual NIC. Is some cases aliased
>> interfaces function differently than physical ones so you'll get a
>> better test this way.
>>
>
> And exactly this is my problem.
>
> How do I do this with IPv6-addresses? eth0:0 and eth0:1 as with IPv4 won't 
> work.
>
>
> Viele Grüße
>
> Andreas Rittershofer
>
After configuring the 2nd NIC in the VM, for Red Hat and derivatives 
configure ifcfg-eth0 and ifcfg-eth1 in /etc/sysconfig/network-scrips.
Along with the usual configuration, in each file use:
IPV6INIT=yes
IPV6ADDR=fdbd:68bf:4504:f18b:3::1/64

Of course, assign a different address for each one.

Bill



------------------------------------------------------------------------------
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

Reply via email to