default gateway failover
Tyrone at telecity.se
Tyrone at telecity.se
Tue Apr 4 19:56:12 UTC 2006
Hi,
I'm trying to do default gateway failover for a single VLAN interface
connected to 2 switches and two freebsd 5.4 routers.
I have BGP running on both routers.
The webserver is configured with 192.168.1.12 and a GW address of
192.168.1.10 which is the virtual router address in case the default
gateway goes down it will take another route supplied by 802.1d
spanning-tree and CARP.
The drawing is at the bottom of this mail
Any one get a solution like this working or maybe you see something that
is wrong?
Here is my config
Router1#vlan403:
flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.9 netmask 0xfffffff8 broadcast 192.168.1.15
ether 00:30:48:88:21:f3
media: Ethernet autoselect (1000baseTX <full-duplex>)
status: active
vlan: 403 parent interface: bge1
Router1#ifconfig carp403 create
Router1#ifconfig carp403 vhid 1 pass love 192.168.1.10/29
Router1#carp403: flags=41<UP,RUNNING> mtu 1500
inet 192.168.1.10 netmask 0xfffffff8
carp: MASTER vhid 1 advbase 1 advskew 0
Router2#vlan403:
flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.11 netmask 0xfffffff8 broadcast 192.168.1.15
ether 00:30:48:85:1a:8e
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vlan: 403 parent interface: bge0
Router2#ifconfig carp403 create
Router2#ifconfig carp403 vhid 1 advskew 100 pass love 192.168.1.10/29
Router2#carp403: flags=41<UP,RUNNING> mtu 1500
inet 192.168.1.10 netmask 0xfffffff8
carp: BACKUP vhid 1 advbase 1 advskew 100
The webserver is configured with 192.168.1.12 and a GW address of
192.168.1.10 which is the virtual router address in case the default
gateway goes down it will take another route supplied by 802.1d
spanning-tree.
DISCLAIMER
This e-mail is intended only for the use of the addressees named above
and may be confidential. If you are not an addressee you must not use
any information contained in nor copy it nor inform any person other
than TeleCity or the addressees of its existence or contents. If you
have received this e-mail in error, please contact the TeleCity IT
department on +44 (0) 161 232 3220 or by email at
techsupport at telecity.com. Internet communications cannot be guaranteed
100% secure, you should therefore take this potential lack of security
into consideration when emailing us as we do not accept legal
responsibility for the security of the contents of this or other
emails. Whilst TeleCity take measures to prevent any virus
contamination of our computer systems, recipients of emails should
always ensure that they take their own precautions to avoid virus
contamination.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 476144 bytes
Desc: oledata.mso
Url : http://lists.freebsd.org/pipermail/freebsd-isp/attachments/20060404/0b9528ce/attachment-0001.obj
More information about the freebsd-isp
mailing list