From: Vladimir Cherednichenko <che@red-team.org.ua> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] nmap and vlans and troubles Date: Thu, 22 Dec 2005 18:56:19 +0200 Message-ID: <43AADAB3.6010403@red-team.org.ua> (raw) Всем привет, надеюсь написал по адресу :) Возникла такая проблема: На сервер Master 2.4 подняты вланы, они работат нареканий нет, используются net-scripts. Один из vlan-интерфейсов указан как дефолтный в мир. Но когда пытаюсь nmap-ом просканить любой какойнибудь хост то получаю следующее: $ sudo nmap -e vlan20 1.2.3.1 Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2005-12-21 11:19 EET Failed to find interface eth0 mentioned in /proc/net/route QUITTING! даже опция -е не помогает. Как победить, кто нибудь стыкался с такой ситуацией ? Настройки сети: $ cat /etc/sysconfig/vlan # VLAN subsystem # Change this to yes if you want VLANS. DOT1Q_VLANS=yes # VLAN name types: # VLAN_PLUS_VID = vlan0005 # VLAN_PLUS_VID_NO_PAD = vlan5 # DEV_PLUS_VID = eth0.0005 # DEV_PLUS_VID_NO_PAD = eth0.5 VLAN_NAMING=VLAN_PLUS_VID_NO_PAD $ cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=zzz.xxx.xxx DOMAINNAME=xxx.xxx GATEWAY=1.2.3.1 $ cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none IPADDR=0.0.0.0 ONBOOT=yes $ cat /etc/sysconfig/network-scripts/ifcfg-vlan20 DEVICE=vlan20 VLAN_TRUNK_IF=eth0 BOOTPROTO=static IPADDR=1.2.3.2 NETMASK=z.z.z.z ONBOOT=yes [che@radius che]$ cat /etc/sysconfig/network-scripts/ifcfg-vlan21 DEVICE=vlan21 VLAN_TRUNK_IF=eth0 BOOTPROTO=static IPADDR=5.5.5.5 NETMASK=y.y.y.y ONBOOT=yes $ sudo ip r 1.2.3.0/28 dev vlan20 proto kernel scope link src 1.2.3.7 5.5.5.0/24 dev vlan21 proto kernel scope link src 5.5.5.5 0.0.0.0/8 dev eth0 scope link 127.0.0.0/8 dev lo scope link default via 1.2.3.1 dev vlan20 $ sudo ip r del 0.0.0.0/8 dev eth0 $ sudo ip r 1.2.3.0/28 dev vlan20 proto kernel scope link src 1.2.3.7 5.5.5.0/24 dev vlan21 proto kernel scope link src 5.5.5.5 127.0.0.0/8 dev lo scope link default via 1.2.3.1 dev vlan20 $ sudo nmap -e vlan20 1.2.3.1 Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2005-12-21 11:22 EET Failed to find interface eth0 mentioned in /proc/net/route QUITTING! -- WBR, Vladimir Cherednichenko R.E.D Team | Admin Ukraine | Kiev
next reply other threads:[~2005-12-22 16:56 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-12-22 16:56 Vladimir Cherednichenko [this message] 2005-12-23 9:52 ` Vladimir Cherednichenko 2005-12-23 10:04 ` Peter V. Saveliev 2005-12-23 11:27 ` Anton Kvashin 2005-12-23 12:03 ` Vladimir Cherednichenko 2005-12-28 14:48 ` Vladimir Cherednichenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=43AADAB3.6010403@red-team.org.ua \ --to=che@red-team.org.ua \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git