خرید بک لینک

Hello all!!
I'm use Ubuntu server 14.04 jo PC with two network adapters (ASUS M2N32 SLI Deluxe).
All etheet adapters coect to switch, in different network (VLAN) with different DHCP servers. These networks are routed together.
/etc/network/interfaces:

Code:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).


# The loopback network interface
auto lo
iface lo inet loopback


# The primary network interface
auto eth0
iface eth0 inet dhcp


# The secondary network interface
auto eth1
iface eth1 inet dhcp
:~$ ifconfig

Code:

eth0      Link encap:Etheet  HWaddr 00:1d:60:86:b6:3d  
          inet addr:192.168.36.2  Bcast:192.168.36.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:60ff:fe86:b63d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60717 errors:11152 dropped:0 overruns:11090 frame:62
          TX packets:24943 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17516865 (17.5 MB)  TX bytes:43763863 (43.7 MB)


eth1      Link encap:Etheet  HWaddr 00:1d:60:86:bc:8d  
          inet addr:192.168.88.2  Bcast:192.168.88.255  Mask:255.255.255.0
          inet6 addr: fe80::21d:60ff:fe86:bc8d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:86472 errors:2242 dropped:0 overruns:1987 frame:255
          TX packets:63749 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:89893044 (89.8 MB)  TX bytes:5911986 (5.9 MB)


lo        Link encap:Локальная петля (Loopback)  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:142694 errors:0 dropped:0 overruns:0 frame:0
          TX packets:142694 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:285831556 (285.8 MB)  TX bytes:285831556 (285.8 MB)


virbr0    Link encap:Etheet  HWaddr 16:38:2a:e8:df:ce  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
:~$ route

Code:

Destination Gateway Genmask Flags Metric Ref Use Iface
default         192.168.88.1    0.0.0.0         UG    0      0        0 eth1
192.168.36.0    *               255.255.255.0   U     0      0        0 eth0
192.168.88.0    *               255.255.255.0   U     0      0        0 eth1
192.168.122.0   *               255.255.255.0   U     0      0        0 virbr0
some times default gateway may be 192.168.36.1
Main problem - eht0 work, but often ceases to be available (communication is interrupted for a few minutes, then restores again for a few minutes)
eth1 not work - not available for ping all time.
On DHCP log I see, that both get IP address at same time.
Try to add to /etc/network/interfaces after each adapter:

Code:

up route add -net 192.168.XX.0 netmask 255.255.255.0 gw 192.168.XX.1
but this does not fix the error.
Prompt please the what can be done to ensure the work of the two network interfaces?

- - , .

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 13 اسفند 1394 ساعت: 13:57

صفحه بندی