Re: arp issues...but WHY

2004-05-04 Thread Bill Moran
J.D. Bronson wrote:
At 09:49 AM 05/04/2004, Bill Moran wrote:

Then how do I get data from one segment to the other w/o using a 
router and yet at the same time keeping 'arp' happy ?


You don't.  That's what a router does.  If you want to move data between
two different networks you either need a router, or you need to cheat 
(like
you currently are) and just ignore the arp messages.

You can just turn on forwarding on the BSD machine with the two NICs 
and it
will act as a router for you.
Thanks again for all the time for explanations.
Since everything works fine the way it is (with the arp mesgs I can turn 
off with systcl and hence solve that) would there be any benefit for 
turning on forwarding
or just leaving things as they are?
If you leave both NICs plugged into the same switch, do NOT turn on
forwarding, or you get duplicates of every packet!
You'll only need forwarding if you move one of the subnets to its own
leg.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread Kent Stewart
On Tuesday 04 May 2004 07:31 am, J.D. Bronson wrote:
> At 09:24 AM 05/04/2004, Kent Stewart wrote:
> > > >Kent
> > >
> > > How are these not different networks? Could you explain?
> > > What would I need to do to MAKE then different?
> >
> >They are on the same cable or wire. So, you only have one network. 
> > For example, on this computer, I have a 192.168.x.x network and a
> > 207.41.x.x network. The 207. network is hooked up to my DSL modem
> > switch and the 192. network is connected to a different switch. All
> > of my local computers are hooked up to this network. They are
> > physically different networks.
> >
> >You have two logically different IP addresses but they are on the
> > same network.
> >
> >Kent
>
> ahh..NOW I understand. thanks.
>
> If I got a switch for the 192 block machines and a switch for the 10
> block machines that would be 2 distinct networks...right?
>
> Next question..
>
> Then how do I get data from one segment to the other w/o using a
> router and yet at the same time keeping 'arp' happy ?

In my case, I have a gateway that I call crystal, which has 2 NICs. 
Crystal forwards and NATs all of my 192.x.x.x. traffic to my 207.x.x.x 
NIC. Topaz, which also has 2 NICs, shares the DSL modem switch and is 
also connected to the 192.x.x.x network with a 2nd NIC. Topaz is not 
setup as a gateway and does not forward any 192. traffic to the 207. 
NIC. Both crystal and topaz have static IP addresses in the 207. block.

There isn't any problem with crystal talking to topaz on either the 207. 
network or the 192. network. The firewalls don't permit any in-bound 
traffic such as telnet, ftp, ssh, and etc over the 207. network.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread J.D. Bronson
At 09:49 AM 05/04/2004, Bill Moran wrote:
Then how do I get data from one segment to the other w/o using a router 
and yet at the same time keeping 'arp' happy ?
You don't.  That's what a router does.  If you want to move data between
two different networks you either need a router, or you need to cheat (like
you currently are) and just ignore the arp messages.
You can just turn on forwarding on the BSD machine with the two NICs and it
will act as a router for you.
--
Bill Moran
Thanks again for all the time for explanations.
Since everything works fine the way it is (with the arp mesgs I can turn 
off with systcl and hence solve that) would there be any benefit for 
turning on forwarding
or just leaving things as they are?

Thanks!

 -JDB





--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread Bill Moran
J.D. Bronson wrote:
At 09:24 AM 05/04/2004, Kent Stewart wrote:

> >Kent
>
> How are these not different networks? Could you explain?
> What would I need to do to MAKE then different?
>
They are on the same cable or wire. So, you only have one network.  For
example, on this computer, I have a 192.168.x.x network and a
207.41.x.x network. The 207. network is hooked up to my DSL modem
switch and the 192. network is connected to a different switch. All of
my local computers are hooked up to this network. They are physically
different networks.
You have two logically different IP addresses but they are on the same
network.
Kent
ahh..NOW I understand. thanks.

If I got a switch for the 192 block machines and a switch for the 10 block
machines that would be 2 distinct networks...right?
Next question..

Then how do I get data from one segment to the other w/o using a router 
and yet at the same time keeping 'arp' happy ?
You don't.  That's what a router does.  If you want to move data between
two different networks you either need a router, or you need to cheat (like
you currently are) and just ignore the arp messages.
You can just turn on forwarding on the BSD machine with the two NICs and it
will act as a router for you.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread Bill Moran
J.D. Bronson wrote:
At 08:35 AM 05/04/2004, Kent Stewart wrote:

> But in this case they are totally unique:
>
> NIC #1 - 10.10.10.1 255.255.255.0
> NIC #2 - 192.168.10.1 255.255.255.0
> Default gateway: 10.10.10.10
>
> I am using a single SWITCH for all of my connections.
This is the problem. You don't have two networks and since both NICs are
on the same network, it complains.
Kent
How are these not different networks? Could you explain?
What would I need to do to MAKE then different?
Another switch/hub to actually isolate them.

There's nothing to prevent arp, broadcast or any other type of traffic from
arriving on the wrong ethernet card, thus evoking these messages.  The
reason you can turn them off in the kernel is that they're essentially
harmless in this situation.  If you know what you've done and you're
comfortable with it, turn the errors off.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread J.D. Bronson
At 09:24 AM 05/04/2004, Kent Stewart wrote:
> >Kent
>
> How are these not different networks? Could you explain?
> What would I need to do to MAKE then different?
>
They are on the same cable or wire. So, you only have one network.  For
example, on this computer, I have a 192.168.x.x network and a
207.41.x.x network. The 207. network is hooked up to my DSL modem
switch and the 192. network is connected to a different switch. All of
my local computers are hooked up to this network. They are physically
different networks.
You have two logically different IP addresses but they are on the same
network.
Kent
ahh..NOW I understand. thanks.

If I got a switch for the 192 block machines and a switch for the 10 block
machines that would be 2 distinct networks...right?
Next question..

Then how do I get data from one segment to the other w/o using a router and 
yet at the same time keeping 'arp' happy ?

Thanks again for all your help!

 -JDB 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread Dan Nelson
In the last episode (May 04), J.D. Bronson said:
> At 08:35 AM 05/04/2004, Kent Stewart wrote:
> >> But in this case they are totally unique:
> >>
> >> NIC #1 - 10.10.10.1 255.255.255.0
> >> NIC #2 - 192.168.10.1 255.255.255.0
> >> Default gateway: 10.10.10.10
> >>
> >> I am using a single SWITCH for all of my connections.
> >
> >This is the problem. You don't have two networks and since both NICs are
> >on the same network, it complains.
> >
> >Kent
> 
> How are these not different networks? Could you explain? What would I
> need to do to MAKE then different?

Two switches.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread Kent Stewart
On Tuesday 04 May 2004 07:15 am, J.D. Bronson wrote:
> At 08:35 AM 05/04/2004, Kent Stewart wrote:
> > > But in this case they are totally unique:
> > >
> > > NIC #1 - 10.10.10.1 255.255.255.0
> > > NIC #2 - 192.168.10.1 255.255.255.0
> > > Default gateway: 10.10.10.10
> > >
> > > I am using a single SWITCH for all of my connections.
> >
> >This is the problem. You don't have two networks and since both NICs
> > are on the same network, it complains.
> >
> >Kent
>
> How are these not different networks? Could you explain?
> What would I need to do to MAKE then different?
>

They are on the same cable or wire. So, you only have one network.  For 
example, on this computer, I have a 192.168.x.x network and a 
207.41.x.x network. The 207. network is hooked up to my DSL modem 
switch and the 192. network is connected to a different switch. All of 
my local computers are hooked up to this network. They are physically 
different networks. 

You have two logically different IP addresses but they are on the same 
network.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread J.D. Bronson
At 08:35 AM 05/04/2004, Kent Stewart wrote:
> But in this case they are totally unique:
>
> NIC #1 - 10.10.10.1 255.255.255.0
> NIC #2 - 192.168.10.1 255.255.255.0
> Default gateway: 10.10.10.10
>
> I am using a single SWITCH for all of my connections.
This is the problem. You don't have two networks and since both NICs are
on the same network, it complains.
Kent
How are these not different networks? Could you explain?
What would I need to do to MAKE then different?
 -JDB

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: arp issues...but WHY

2004-05-04 Thread Kent Stewart
On Tuesday 04 May 2004 05:23 am, J.D. Bronson wrote:
> I have a FreeBSD 5.2.1 machine that has dual NICs.
> I would expect the following behavior if I placed both NICs
> on the same subnet (192.168.1.1 and 192.168.1.2 for example)...
>
> But in this case they are totally unique:
>
> NIC #1 - 10.10.10.1 255.255.255.0
> NIC #2 - 192.168.10.1 255.255.255.0
> Default gateway: 10.10.10.10
>
> I am using a single SWITCH for all of my connections.

This is the problem. You don't have two networks and since both NICs are 
on the same network, it complains.

Kent

>
> most of my LAN is on the '10' block, but I have a few machines and 1
> router that are on the '192' block.
>
> When I telnet into the freebsd machine from the '10.10.10.5' to the
> '10' block I see ARP comments on the console that I dont understand:
>
>
> arp: 10.10.10.5 is on fxp0 but got reply from 00:10:7b:80:04:40 on
> fxp1
>
> How is this possible? - the laptop has NO IP on the 192 block at all.
> I understand how to shut up these errors using 'sysctl' - but I
> wanted to know why I am seeing them in the first place?
>
>   -JDB
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


arp issues...but WHY

2004-05-04 Thread J.D. Bronson
I have a FreeBSD 5.2.1 machine that has dual NICs.
I would expect the following behavior if I placed both NICs
on the same subnet (192.168.1.1 and 192.168.1.2 for example)...
But in this case they are totally unique:

NIC #1 - 10.10.10.1 255.255.255.0
NIC #2 - 192.168.10.1 255.255.255.0
Default gateway: 10.10.10.10
I am using a single SWITCH for all of my connections.

most of my LAN is on the '10' block, but I have a few machines and 1 router
that are on the '192' block.
When I telnet into the freebsd machine from the '10.10.10.5' to the '10' block
I see ARP comments on the console that I dont understand:
arp: 10.10.10.5 is on fxp0 but got reply from 00:10:7b:80:04:40 on fxp1

How is this possible? - the laptop has NO IP on the 192 block at all.
I understand how to shut up these errors using 'sysctl' - but I wanted to 
know why I am seeing them in the first place?

 -JDB

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"