[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Networking Problem - yup



On Mon, 2 Aug 2004, Jonathan Barnes wrote:

> Matt Perry wrote:
> 
> > On Mon, 2 Aug 2004, Jonathan Barnes wrote:
> > 
> > 
> >>eth1      Link encap:Ethernet  HWaddr 00:05:1C:13:5C:8D
> >>          inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
> >>          UP BROADCAST MULTICAST  MTU:1500  Metric:1
... 
> 
> That is odd, didn't notice it before. However 10.1.1.1 is the private network 
> which I can ping from my workstation and it can ping my workstation too. 
> 10.0.0.2 is the interface that cant access anything outgoing.

yup ...  your mask 255.255.255.0 says use only the last octet ..
	10.0.0.x is NOT in the same network as 10.1.1.x

it's doing what you told it ... maybe not what you want

if you want to use 10.0.0.2 ... don't... "0" is best used for network name

use 10.1.1.2  and your troubles is over

if you insist on using 10.w.y.x ... use 255.0.0.0 for your mask
	and change anything you like except 10

if you insist on using 10.0.y.x ... use 255.255.0.0 for your mask
	and only change y.x

if you like a "class c" of 10.0.0.x ..... use 255.255.255.0 for your mask
	and only change "x"

c ya
alvin



Reply to: