Serge73 Posted June 2, 2007 Report Posted June 2, 2007 Добрый день! Подскажите, как добавить маршрут в таблицу? Проблема в том, что не видно сервисы на eth1 из вне. Грешу на маршрутизацию. Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 85.234.236.64 0.0.0.0 255.255.255.192 U 0 0 0 eth1 85.234.150.0 0.0.0.0 255.255.255.128 U 0 0 0 eth2 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 85.234.150.1 0.0.0.0 UG 0 0 0 eth2 После попытки route add -net 85.234.236.64 netmask 255.255.255.192 gw 85.234.236.65 dev eth1 Получается следующее Destination Gateway Genmask Flags Metric Ref Use Iface 85.234.236.64 85.234.236.65 255.255.255.192 UG 0 0 0 eth1 85.234.236.64 0.0.0.0 255.255.255.192 U 0 0 0 eth1 85.234.150.0 0.0.0.0 255.255.255.128 U 0 0 0 eth2 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 85.234.150.1 0.0.0.0 UG 0 0 0 eth2 маршрут 85.234.236.64 85.234.236.65 255.255.255.192 UG 0 0 0 eth1 не живет без 85.234.236.64 0.0.0.0 255.255.255.192 U 0 0 0 eth1 Как правильно написать таблицу? Quote
SignFinder Posted June 8, 2007 Report Posted June 8, 2007 Цитата: route add -net 85.234.236.64 netmask 255.255.255.192 gw 85.234.236.65 dev eth1 Вы че этим хотели сказать? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.