ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Александр Леутин" <leutin-lists@rambler.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] disable vlan routing
Date: Mon, 22 Sep 2008 22:22:47 +0600
Message-ID: <48D7C657.7030906@rambler.ru> (raw)
In-Reply-To: <200809221238.34666.skompan@kspu.kr.ua>

Serge пишет:
> Здравствуйте!
> есть физический сетевой интерфейс, он разбит на 2 vlan. Порт в свитче, в 
> котрый вставлен сетевой кабель от интерфейса тегированный. Как запретить 
> роутинг между 2 vlan?
Можно с помощью iptables настроить фильтры.
Можно посмотреть значения переменных (тут не уверен)
#sysctl -a | grep \.forwarding
Потом установить значения наподобие:
sysctl -w net.ipv4.conf.vlan15.forwarding=0
Или записать эти значения в /etc/sysctl.conf

-- 
Александр Леутин
Registered Linux user #295797
Жизнь -- смертельно интересная штука!



  parent reply	other threads:[~2008-09-22 16:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-22  9:38 Serge
2008-09-22 10:11 ` Gennadiy Redko
2008-09-22 16:22 ` Александр Леутин [this message]
2008-09-23  7:15 ` Sergey

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=48D7C657.7030906@rambler.ru \
    --to=leutin-lists@rambler.ru \
    --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