опитвам се да разбера,защо произволно интерфейс-а добавя рутиране за
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
84.54.139.11 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth10.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
eth0 LAN
eth1 iface inet dhpc за pppoe
eth0 Link encap:Ethernet HWaddr 94:0c:6d:81:ac:a2
inet addr:192.168.2.1 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::960c:6dff:fe81:aca2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4299187 errors:0 dropped:0 overruns:0 frame:0
TX packets:7345920 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:893444905 (852.0 MiB) TX bytes:9968594330 (9.2 GiB)
Interrupt:19 Base address:0x4000
eth1 Link encap:Ethernet HWaddr 00:e0:4d:60:39:5a
inet addr:192.168.1.112 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4dff:fe60:395a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8937156 errors:0 dropped:0 overruns:0 frame:0
TX packets:4420208 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10128233487 (9.4 GiB) TX bytes:932745778 (889.5 MiB)
Interrupt:27 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:21153 errors:0 dropped:0 overruns:0 frame:0
TX packets:21153 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2238043 (2.1 MiB) TX bytes:2238043 (2.1 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:84.54.139.229 P-t-P:84.54.139.12 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:32039 errors:0 dropped:0 overruns:0 frame:0
TX packets:27015 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:30432608 (29.0 MiB) TX bytes:3039643 (2.8 MiB)
auto lo
iface lo inet loopback
##########
# LAN
##########
auto eth0
iface eth0 inet static
address 192.168.2.1
netmask 255.255.255.0
network 192.168.2.0
broadcast 255.255.255.255
gateway 84.54.139.13 да бъде ppp интерфейс
dns-nameservers 84.54.128.6 84.54.128.8
##########
# PPPOE
##########
auto eth1
iface eth1 inet dhcp
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth1 up
provider dsl-provider
gateway 84.54.139.13
dns-nameservers 84.54.128.6 84.54.128.8 не съм сигурен дали има нужда от тях
как мога да го спра това добавяне на eth1