From: Martin Volf <mv@inv.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] routing within the same network? is it possible?
Date: Sat, 12 Jun 2004 13:26:37 +0000 [thread overview]
Message-ID: <40CB048D.2050507@inv.cz> (raw)
In-Reply-To: <20098237.1086963665384.JavaMail.root@kermit.psp.pas.earthlink.net>
Victor Catten wrote:
> Hello,
> > Is routing within the same network possible?
> If it is, what configuration should I put for the firewall/router shown
> below? I basically want the host debian13 to be able to send packets via
> a multi-homed firewall. I think the multi-homed firewall involve some
> routing.
> +-------------------+
> |debian13 |
> |eth0:192.168.0.13 |
> +-------------------+
> |eth0
> |
> |eth0
> +--------------------------+
> |firewall/router(linux-box)|
> |which configuration here? |
> +--------------------------+
> |eth1
> |
> +----------------------+
> | |
> |eth0 |eth0
> +-------------------+ +-------------------+
> |eth0:192.168.0.15 | |eth0:192.168.0.16 |
> |debian15 | |debian16 |
> +-------------------+ +-------------------+
Hello,
see http://lartc.org/howto/lartc.bridging.proxy-arp.html or try this:
on router:
ifconfig eth0 192.168.0.1 netmask 255.255.255.255 -broadcast
ifconfig eth1 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
route add -host 192.168.0.13 device eth0
echo 1 >/proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 >/proc/sys/net/ipv4/conf/eth1/proxy_arp
echo 1 >/proc/sys/net/ipv4/ip_forward
on debianXY:
ifconfig eth0 192.168.0.XY netmask 255.255.255.0 broadcast 192.168.0.255
HTH,
--
Martin
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-06-12 13:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-11 14:21 [LARTC] routing within the same network? is it possible? Victor Catten
2004-06-12 12:39 ` Yemi Fowe
2004-06-12 12:39 ` Alan Woodland
2004-06-12 13:03 ` Alexis
2004-06-12 13:26 ` Martin Volf [this message]
2004-06-14 5:55 ` Peteris Krumins
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=40CB048D.2050507@inv.cz \
--to=mv@inv.cz \
--cc=lartc@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.