olegwhite: |
Покажите lspci , route И команду при помощи которой Вы питались "роутить". |
lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
А роуты следующие.
1) Когда включена только шпд (интернет работает соответственно)
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.65.254 0.0.0.0 UG 0 0 0 eth1
172.16.161.0 * 255.255.255.0 U 0 0 0 vmnet1
172.16.241.0 * 255.255.255.0 U 0 0 0 vmnet8
192.168.65.0 * 255.255.255.0 U 1 0 0 eth1
2) Как только подключаю корпоративку (Инет пропадает, корпоративка заворачивает все на себя).
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.40.1.1 0.0.0.0 UG 0 0 0 eth0
10.40.1.0 * 255.255.255.0 U 1 0 0 eth0
172.16.161.0 * 255.255.255.0 U 0 0 0 vmnet1
172.16.241.0 * 255.255.255.0 U 0 0 0 vmnet8
192.168.65.0 * 255.255.255.0 U 1 0 0 eth1
Роутить как Вы говорите пытался добавлением следующих роутов:
route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.40.1.1 dev eth0
route add -net 192.0.0.0 netmask 255.0.0.0 gw 192.168.65.1 dev eth1