Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : midnighter                           2:5020/400     14 May 2007  14:45:33
 To : All
 Subject : iptables и eth0:1
 -------------------------------------------------------------------------------- 
 
 
 Есть машина - интерфейс eth0 - адрес - например, 
 195.161.255.2
 
 В iptables прописаны правила, все хорошо.
 
 Hа этой же машине на этом же физическом интерфейсе
 поднимаю еще один логический интерфейс, которые сидит в той 
 же сети и тот же шлюз у него
 ifconfig eth0:1 195.161.255.3 netmask 255.255.255.0 up
 Поднялось.
 
 В iptables прописываю еще пару правил для этого интерфейса -
 например, 
 
 -A VASA-INPUT -p udp -m udp -s 195.161.254.0/24  -i eth0:1 -j ACCEPT
 -A VASA-INPUT -p udp -m udp -s 195.161.255.0/24  -i eth0:1 -j ACCEPT
 
 iptables ругнулся 
 Warning: weird character in interface `eth0:1' (No aliases, :, ! or *).
 Warning: weird character in interface `eth0:1' (No aliases, :, ! or *).
 
 В чем проблема? Как корректно прописать правила для нового интерфейса?
 
 --- ifmail v.2.15dev5.3
  * Origin: Center New Techologies, Krasnodar (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 iptables и eth0:1   midnighter   14 May 2007 14:45:33 
 iptables и eth0:1   Sergey Khvatov   14 May 2007 15:18:25 
 Re: iptables и eth0:1   midnighter   14 May 2007 16:05:41 
 iptables и eth0:1   Alexey Vissarionov   14 May 2007 16:18:50 
 iptables и eth0:1   Sergey Khvatov   14 May 2007 16:41:46 
 Re: iptables и eth0:1   Sergey   14 May 2007 17:31:38 
 iptables и eth0:1   Alexey Vissarionov   14 May 2007 21:14:24 
 Re: iptables и eth0:1   midnighter   15 May 2007 10:18:10 
 iptables и eth0:1   Alexey Vissarionov   15 May 2007 10:53:28 
 Re: iptables и eth0:1   midnighter   15 May 2007 14:33:50 
 Re: iptables и eth0:1   midnighter   16 May 2007 09:25:29 
 Re: iptables и eth0:1   Sergey   16 May 2007 09:27:30 
 Re: iptables и eth0:1   Sergey   16 May 2007 09:34:34 
 Re: iptables и eth0:1   midnighter   16 May 2007 13:30:03 
 iptables и eth0:1   Andrew Korovin   16 May 2007 11:27:24 
 iptables и eth0:1   Alexey Vissarionov   16 May 2007 11:52:38 
 Re: iptables и eth0:1   Alex Korchmar   14 May 2007 17:24:02 
 Re: iptables и eth0:1   Sergey   14 May 2007 17:34:12 
 Re: iptables и eth0:1   Alex Korchmar   14 May 2007 17:39:49 
 Re: iptables и eth0:1   Sergey   14 May 2007 17:43:52 
 Re: iptables и eth0:1   Alex Korchmar   15 May 2007 00:40:39 
 Re: iptables и eth0:1   Sergey   16 May 2007 00:21:20 
Архивное /ru.linux/7622a96986cb.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional