Re: [SLUG] can't establish network connect

2002-06-26 Thread Grant

Hi Mike,
Just a quick response to the book question.  It was in Linux Networking
HOWTO - DocBook Rev .02  Joshua Drake.  Re the other questions I'll get them
tonight and cc the group.  When I run netstat -r & ifconfig it all looks OK
relative to the howto.  Thanks
Geant
- Original Message -
From: "Intelligent Dynamic" <[EMAIL PROTECTED]>
To: "Grant" <[EMAIL PROTECTED]>
Sent: Monday, June 24, 2002 6:06 PM
Subject: Re: [SLUG] can't establish network connect


> G'day Grant...
>
> The operative words being "which aren't on your ethenet segment" (btw...
> which book is that?)...
>
> If your Linux box and windows box are connected by a hub or coax, then
they
> are on the same ethernet segment. What's your Windows IP setup like, and
> what is your Linux route table and ifconfig  table like? (Ie. the output
of
> `route` and `ifconfig`)
>
> (NB. you may want to CC the list in on the email.)
>
> Have fun...
>
> Mike
>
> - Original Message -
> From: "Grant" <[EMAIL PROTECTED]>
> To: "Intelligent Dynamic" <[EMAIL PROTECTED]>
> Sent: Monday, June 24, 2002 10:27 AM
> Subject: Re: [SLUG] can't establish network connect
>
>
> > Hi Mike,
> > Thanks for your tip.  I've removed the default gateway.  Closer reading
of
> > the howto states that  adding a default gateway is for 'all of the IP
> hosts
> > which aren't on your ethernet segment' p.17.  Still can't reach the w
box
> > though.
> > Grant
> > - Original Message -
> > From: "Intelligent Dynamic" <[EMAIL PROTECTED]>
> > To: "Grant" <[EMAIL PROTECTED]>
> > Sent: Sunday, June 23, 2002 11:55 PM
> > Subject: Re: [SLUG] can't establish network connect
> >
> >
> > > G'day...
> > >
> > > You shouldn't have a default gateway of 192.168.1.1 if the machines
are
> on
> > > the same network segment!!!
> > >
> > > What this means, is that your machine is trying to send all the
packets
> > for
> > > 192.168.1.3 (Windows box) through a router/gateway with the network ip
> > > address of 192.168.1.1 as this machine cannot be found (or is not set
up
> > for
> > > such functionality) the packets are being ignored and lost. Hence your
> > > problem.
> > >
> > > Remove this entry from your route and your network should work fine.
> > >
> > > All the best...
> > >
> > > Mike
> > >
> > > - Original Message -
> > > From: Grant
> > > To: [EMAIL PROTECTED]
> > > Sent: Sunday, June 23, 2002 9:02 PM
> > > Subject: [SLUG] can't establish network connect
> > >
> > >
> > > Hi,
> > > I'm going to set up my linux box (RH 7.2) as a server for a couple of
> > Win98
> > > boxes.  At the moment I can't ping the W box.  Using the network howto
> > eth0
> > > is 192.168.1.10 the route is .1.0 & the default gw is .1.1  Running
> > > netstat -r the table is as I think it should be.  My card is ne2k-pci.
> > The
> > > fault message is destination host unreachable (the w box is
192.168.1.3)
> > > Thanks.
> > > Grant
> > >
> >
> >
>

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [SLUG] can't establish network connect

2002-06-26 Thread Visser, Martin (Sydney)

Michael/Grant,

The gateway doesn't get used if the two hosts are on the same network. Assuming Grant 
has set the network mask to 255.255.255.0, the sending host does an logical AND of his 
interface with the mask (192.168.1.10 AND 255.255.255.0 which gives 192.168.1.0 ) and 
the recipient address AND the mask (192.168.1.3 AND 255.255.255.0 which also gives 
192.168.1.0). The sending host now knows they are on the same network and hence does 
not use the default gateway. ( This is how all route decisions are made with the 
process repeated for each route until the "longest match", or most specific route is 
found)

Grant, apart from the advice given (i.e. check physical and administratively that the 
cards are up with ifconfig). The network addresses given stipulate that the two 
machines MUST reside on the same physical network (ie hub or network switches that are 
physically connected at "Layer 2").

You also can use arp -a to see if the machine resolving IP to mac address, also 
netstat -ic to check packets going in/out. Also you may need to check that 
ipchains/iptables (firewall) is not getting in the way. iptables --list will be your 
friend. (You can also turn this off temporarily by /etc/init.d/iptables stop or 
/etc/init.d/ipchains stop.)

Martin Visser
Network Consultant - Global Services
COMPAQ, part of the new HP

3 Richardson Place
North Ryde, Sydney NSW 2113, Australia
Phone *: +61-2-9022-1670Mobile *: +61-411-254-513
   Fax 7: +61-2-9022-1800 E-mail * : martin.visserAThp.com




-Original Message-
From: Michael Kraus [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 23 June 2002 11:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [SLUG] can't establish network connect


G'day...

You shouldn't have a default gateway of 192.168.1.1 if the machines are on
the same network segment!!!

What this means, is that your machine is trying to send all the packets for
192.168.1.3 (Windows box) through a router/gateway with the network ip
address of 192.168.1.1 as this machine cannot be found (or is not set up for
such functionality) the packets are being ignored and lost. Hence your
problem.

Remove this entry from your route and your network should work fine.

All the best...

Mike

- Original Message -
From: Grant
To: [EMAIL PROTECTED]
Sent: Sunday, June 23, 2002 9:02 PM
Subject: [SLUG] can't establish network connect


Hi,
I'm going to set up my linux box (RH 7.2) as a server for a couple of Win98
boxes.  At the moment I can't ping the W box.  Using the network howto eth0
is 192.168.1.10 the route is .1.0 & the default gw is .1.1  Running
netstat -r the table is as I think it should be.  My card is ne2k-pci.  The
fault message is destination host unreachable (the w box is 192.168.1.3)
Thanks.
Grant


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] can't establish network connect

2002-06-23 Thread mark . crisp


Grant,

Is your network card up (eth0)
Do an ifconfig and check if your eth0 is up or down

Mark Crisp
Messaging, Hosting & Security - Asia/Pacific & Australia
Systems Engineer
Unit 8
5 Talavera Rd
North Ryde NSW 2113
Phone: 612 8876 8910
Fax:   612 8876 8899
Cell Phone: 0414 86 4031
http://www.equant.com




   
   
  "Grant"  
   
  <[EMAIL PROTECTED] To:  <[EMAIL PROTECTED]> 
   
  u>   cc: 
   
  Sent by: Subject: [SLUG] can't establish network 
connect
  slug-admin@slug. 
   
  org.au   
   
   
   
   
   
  23/06/2002 09:02 
   
  PM   
   
   
   
   
   




Hi,
I'm going to set up my linux box (RH 7.2) as a  server for a couple of
Win98 boxes.  At the moment I can't ping the W  box.  Using the network
howto eth0 is 192.168.1.10 the route is .1.0 &  the default gw is .1.1
Running netstat -r the table is as I think it  should be.  My card is
ne2k-pci.  The fault message is destination  host unreachable (the w box is
192.168.1.3)  Thanks.
Grant



--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] can't establish network connect

2002-06-23 Thread Michael Kraus

G'day...

You shouldn't have a default gateway of 192.168.1.1 if the machines are on
the same network segment!!!

What this means, is that your machine is trying to send all the packets for
192.168.1.3 (Windows box) through a router/gateway with the network ip
address of 192.168.1.1 as this machine cannot be found (or is not set up for
such functionality) the packets are being ignored and lost. Hence your
problem.

Remove this entry from your route and your network should work fine.

All the best...

Mike

- Original Message -
From: Grant
To: [EMAIL PROTECTED]
Sent: Sunday, June 23, 2002 9:02 PM
Subject: [SLUG] can't establish network connect


Hi,
I'm going to set up my linux box (RH 7.2) as a server for a couple of Win98
boxes.  At the moment I can't ping the W box.  Using the network howto eth0
is 192.168.1.10 the route is .1.0 & the default gw is .1.1  Running
netstat -r the table is as I think it should be.  My card is ne2k-pci.  The
fault message is destination host unreachable (the w box is 192.168.1.3)
Thanks.
Grant


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] can't establish network connect

2002-06-23 Thread Antony Clarke



Grant wrote:

> Hi,
> I'm going to set up my linux box (RH 7.2) as a server for a couple of 
> Win98 boxes.  At the moment I can't ping the W box.  Using the network 
> howto eth0 is 192.168.1.10 the route is .1.0 & the default gw is .1.1  
> Running netstat -r the table is as I think it should be.  My card is 
> ne2k-pci.  The fault message is destination host unreachable (the w 
> box is 192.168.1.3)  Thanks.
> Grant

Can you show us more detail i.e. routing table etc...

What is your gateway i.e. cable/adsl etc...

I assume by route you mean the network is 192.168.1.0

What is the gateway on your w98 machines?




-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] can't establish network connect

2002-06-23 Thread knet

Are you sure you have networking correctly setup on the Windows machine? 
Perhaps the Windows machine is at fault here.  :-)

Can your server see traffic from the Windows machine?  Maybe it's a 
cabling problem.  You could check by trying to ping the server from the 
Windows machine and watching for traffic at the server (tcpdump ip proto 
\\icmp).

Grant wrote:

> Hi,
> 
> I'm going to set up my linux box (RH 7.2) as a server for a couple of 
> Win98 boxes.  At the moment I can't ping the W box.  Using the network 
> howto eth0 is 192.168.1.10 the route is .1.0 & the default gw is .1.1  
> Running netstat -r the table is as I think it should be.  My card is 
> ne2k-pci.  The fault message is destination host unreachable (the w box 
> is 192.168.1.3)  Thanks.
> 
> Grant
> 


-

knet



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug