Вернее пингуется шлюз, но не то что за ним.
Отрывок из rc.cоnf
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME=«myhost»
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to «dhcp» (eth0=«dhcp»)
# Wireless: See network profiles below
#
#Static IP example
eth0=«eth0 192.168.94.175 netmask 255.255.255.0 broadcast 192.168.94.255»
#eth0=«dhcp»
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway=«default gw 192.168.94.1»
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
Ответ на:
комментарий
от uGin
Ответ на:
комментарий
от uGin
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Статический ip слетает после отключения кабеля (2012)
- Форум как прописать в /etc/network/interfaces нужные роуты при VPN- подключения ?? (2011)
- Форум как добавит роута VPN -a ??? в настройках VPN-а ????? (2011)
- Форум Помогите настроить metric на 2-х картах (2012)
- Форум Не пойму почему не добавляется новый маршрут в Debain 10 (2021)
- Форум Синий /etc/net.../in... (2014)
- Форум Grub2 и несколько видеорижимов. (2019)
- Форум Вопрос по route (2012)
- Форум Не работает Интернет (2010)
- Форум Как настроить чтоб работало две сетевые платы – две сети (2017)