Цитата:
Сообщение от pingwinator
потом в наглую подменивать резолф конф?
|
дык отож то и оно! не хочеться каждый раз кудато лазить! чтоб комп врубил и фсё работает! а лучше вообще его не выключать!(как по мне линукс не любит ребутоф,лучше работает чем дольше не ребутиш)))
Не знаю кто какой юзает дистрибутиф,я Gentoo!
вот у меня есть такое:
#cat /etc/conf.d/net.example |grep gate
# This is a module that tries to find a gateway IP. If it exists then we use
# that gateways configuration for our own. For the configuration variables
#gateways_eth0="192.168.0.1 10.0.0.1"
# We can also specify a specific MAC address for each gateway if different
# networks have the same gateway.
#gateways_eth0="192.168.0.1,00:11:22:AA:BB:CC 10.0.0.1,33:44:55:DD:EE:FF"
# If we don't find any gateways (or there are none configured) then we try and
# with your ISP, your only peer is usually the ISP gateway closest to you),
В линаксе ничё проще нету чем запустить сеть,но с маршрутами чтот я не понял.вот мой сетевой конфиг
#nano /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "192.168.117.113 netmask 255.255.255.0" )
gateways_eth0=( "192.168.117.1 192.168.117.5" )
q
Получаетьсо 117,5 это для инета , а 117,1 это сеть!
в винде получаться 117,1 -шлюз ,а днс- 10,100,100,1
и чтот я софсем не догоняю!=(