LinuxForum.Fans
Тема

Сетевые настройки

Автор: yy401 6 сообщений 2619 просмотров
#200789

что это значит? с сетевухой что-то?

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:27:0e:03:ca:b9
inet addr:192.168.86.21 Bcast:192.168.86.255 Mask:255.255.255.0
inet6 addr: fe80::227:eff:fe03:cab9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:465174 errors:0 dropped:0 overruns:0 frame:0
TX packets:251500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:99544742 (94.9 MiB) TX bytes:232336757 (221.5 MiB)
Interrupt:28 Base address:0x2000

eth0:0 Link encap:Ethernet HWaddr 00:27:0e:03:ca:b9
inet addr:192.168.87.21 Bcast:192.168.87.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:28 Base address:0x2000

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:79041 errors:0 dropped:0 overruns:0 frame:0
TX packets:79041 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:173147358 (165.1 MiB) TX bytes:173147358 (165.1 MiB)

#200807

А что не устраивает?

#200821

это значит, что eth0 имеет два ip адреса.

#200832

Жить мешает? Я бы попробовал выключить один :-).

#200838

Как раз листал man ifconfig и наткнулся :-)

interface
The name of the interface. This is usually a driver name fol‐
lowed by a unit number, for example eth0 for the first Ethernet
interface. If your kernel supports alias interfaces, you can
specify them with eth0:0 for the first alias of eth0. You can
use them to assign a second address. To delete an alias inter‐
face use ifconfig eth0:0 down. Note: for every scope (i.e. same
net with address/netmask combination) all aliases are deleted,
if you delete the first (primary).
#200919

спасибо всем, просто второй IP перестал быть доступен и причину я так и не понял

Войдите или зарегистрируйтесь, чтобы ответить.