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


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Sergey Khvatov                       2:5020/175.2   14 May 2007  15:18:25
 To : midnighter
 Subject : iptables и eth0:1
 -------------------------------------------------------------------------------- 
 
 Mon May 14 2007 15:45, midnighter wrote to All:
 
  m> From: midnighter <vladi@mail.kuban.ru>
 
  m> Есть машина - интерфейс eth0 - адрес - например, 
  m> 195.161.255.2
 
  m> В iptables прописаны правила, все хорошо.
 
  m> Hа этой же машине на этом же физическом интерфейсе
  m> поднимаю еще один логический интерфейс, которые сидит в той 
  m> же сети и тот же шлюз у него
  m> ifconfig eth0:1 195.161.255.3 netmask 255.255.255.0 up
  m> Поднялось.
 
  m> В iptables прописываю еще пару правил для этого интерфейса -
  m> например, 
 
  m> -A VASA-INPUT -p udp -m udp -s 195.161.254.0/24  -i eth0:1 -j ACCEPT
  m> -A VASA-INPUT -p udp -m udp -s 195.161.255.0/24  -i eth0:1 -j ACCEPT
 
  m> iptables ругнулся 
  m> Warning: weird character in interface `eth0:1' (No aliases, :, ! or *).
 
 Перевести?
 Hикаких алиасов, :, ! или *.
 
  m> В чем проблема? Как корректно прописать правила для нового интерфейса?
 
 -i eth0
 
 Вообще за алиасы надо кое-что оторвать сначала тому кто их придумал, потом
 тому кто их затащил в Linux
 
 --- ifmail v.2.15dev5
  * Origin: FidoNet Online - http://www.fido-online.com (2:5020/175.2)
 
 

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

 Тема:    Автор:    Дата:  
 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/33009211607b.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional