Re: Маршрутизация через нескольких провайдеров
Hello!
On Tue, Apr 21, 2009 at 02:52:31PM +0400, Alex Petrov wrote:
> ## uplink2
> iface eth1 inet static
> address 213.7.50.121
> netmask 255.255.255.248
> post-up ip route add 213.7.50.126/32 dev eth1 src 213.7.50.121
> table uplink2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
По-моему в этом нет необходимости, сеть и так directly connected.
> post-up ip route add default via 213.7.50.126 table uplink2
> post-up ip rule add from 213.7.50.121 table uplink2
> post-down ip rule del from 213.7.50.121 table uplink2
>
> ip neigh show
>
> показывает
> 213.7.50.126 dev eth1 INCOMPLETE
> Это шлюз провайдера.
А 213.7.50.126 пингуется вообще? Связь с ним есть?
Покажите
ip route list
ip route list table uplink1
ip route list table uplink2
ip route list table uplink3
--
WBR,
Alex
Reply to: