Re: lug-bg: ARP
- Subject: Re: lug-bg: ARP
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Mon, 3 Dec 2001 17:52:33 +0200
On Monday 03 December 2001 17:34, you wrote:
> From: George Danchev <danchev@xxxxxxxxx>
>
> >Reply-To: lug-bg@xxxxxxxxxxxxxxxxxx
> >To: lug-bg@xxxxxxxxxxxxxxxxxx
> >Subject: Re: lug-bg: ARP
> >Date: Mon, 3 Dec 2001 17:21:03 +0200
> >
> >On Monday 03 December 2001 16:16, you wrote:
> > > Zdravejte ,
> > >
> > > imam slednia problem
> > > predstavete si mreja LAN:192.168.1.0/24
> > > host1 s eth0:192.168.1.99 i eth1:192.168.1.100
> > > host2 s eth0 192.168.1.101
> > > +----------- host 1 -----------------+ +------ host 2 ----+
> > > LAN -->[eth0:192.168.1.99 eth1:192.168.1.100] <--> [eth0:192.168.1.101]
> > > +------------------------------------+ +------------------+
> > > ta vaprosa mi e kak moje da se nakara host1 da priema paketi i za host2
> >
> >i
> >
> > > da mu gi predava . routing tablicata e nared i ping mejdu host1 i host2
> > > ima. no mejdu host2 i LAN niama. pri ping ot LAN kam host2
> > > tcpdump -i eth0 pri host1 dava
> > > who-has 192.168.1.101 tell 192.168.1.10( za primera) -- iavno nikoj
> > > ne iska da vzeme paketite ot mrejata....
> > >
> > > az probvam s
> > > arp -H ether -s 192.168.1.101 <MAC-of-HOST1> -i eth0 pub
> > > no nesto ne se poluchava.
> > >
> > > Ima li niakoj idea kak se pravi tova ?
> >
> >kolkoto i da mu4ish kernela da pravi ip_forwarding , spored men nqma kak
> >host1 da routira pravilno dokato dvata mu interfejsa sa ot edna i susta
> >podmrezha. Mozhe bi nesto nedovizhdam znam li ...
>
> ne e problem da napravia eth1 na host1 192.168.2.100 a na host2
> eth0:192.168.2.101 tam moga da smeniam mrejite kolkoto si iskam.te pak se
> vijdat no paketite ne otivat do host2
tuy de , tyi de , no pri tezi IP-ta na interfejsite na HOST1 zabravi toj da
routira paketi ot svoq eth0 kym eth1 za da otide na edi koj si interfejs na
HOST2. Ponezhe za routing tablica spomenavash i si mislq 4e iskash HOST1 da
routira.
--
Greets,
fr11zb1
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|