ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Vladimir Cherednichenko <che@red-team.org.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] nmap and vlans and troubles
Date: Fri, 23 Dec 2005 14:03:02 +0200
Message-ID: <43ABE776.1010406@red-team.org.ua> (raw)
In-Reply-To: <43ABDF1D.4000608@junior.esoo.ru>

Anton Kvashin wrote:
> Vladimir Cherednichenko пишет:
> 
>> Неужели никто не сталкивался с такой проблемой ?
>> Или я не в тот список рассылки написал ?
> 
> Есть такая проблема. Посмотрите таблицу маршрутов.
> default * 0.0.0.0 dev eth0 -- удаляйте.
> default gw - на свое устройство vlan. У меня например 
> VLAN_PLUS_VID_NO_PAD имя устройства будет выглядеть vlan5.
> 

Однако удалял, не помогло :(

$ 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


  reply	other threads:[~2005-12-23 12:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-22 16:56 Vladimir Cherednichenko
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 [this message]
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=43ABE776.1010406@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