On Monday 29 October 2007 04:15, primm wrote:
> On Sunday 28 October 2007 20:58:42 Don Raboud wrote:
> > On Sunday 28 October 2007 05:19, primm wrote:

<snip>

> > > What's my Subnet Mask?
> >
> > /sbin/ifconfig will show you what you currently have.  Look for the bit
> > that says Mask:...
> >
> > As other have said it is most likely 255.255.255.0.
>
> /sbin/ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:E0:4C:FD:33:DE
>           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0

<snip>

> eth1      Link encap:Ethernet  HWaddr 00:05:1C:10:EE:75
>           inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0

<snip>

> Does that confirm 255.255.255.0?

Yes.  Each of your two interfaces has the same mask (the "Mask:255.255.255.0" 
bit), and because of this they are on different networks.

eth0 can communicate with all machines with addresses 192.168.1.*.
eth1 can communicate with all machines with addresses 192.168.2.*.

To have communication between them (or with other networks), you need to have 
routing information set up appropriately.


-- 
Don
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to