Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Hearbeat and 802.1Q VLANs: it works

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


gstammw at gmx

Sep 20, 2002, 8:14 AM

Post #1 of 1 (390 views)
Permalink
Hearbeat and 802.1Q VLANs: it works

Hello,

Just wanted to let you know that heartbeat supports 802.1q-vlan-devices.

One can set up a new vlan on a network device by issuing "vconfig add
eth0 4" this will add the vlan-id 4 to device eth0. The result is a new
device called "eth0.4".
"ifconfig eth0.4 up" will bring the device up.

I modified my existing haresources-configuration-file to use vlans:
#VLAN-testnetwork
core2 80.242.130.1/24/eth0.4/80.242.130.255
The ha-debug-file shows that this program is being called:
/usr/local/etc/ha.d/resource.d/IPaddr
80.242.130.1/24/eth0.4/80.242.130.255 start

And the result is GREAT - it works :-)))
Ifconfig
eth0.4 Link encap:Ethernet HWaddr 00:40:F4:3C:F6:93
inet6 addr: fe80::240:f4ff:fe3c:f693/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:496 (496.0 b)

eth0.4:0 Link encap:Ethernet HWaddr 00:40:F4:3C:F6:93
inet addr:80.242.130.1 Bcast:80.242.130.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1


Really good job guys...

Bye,
Gunther

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.