Re: Why two cards on the same segment...

2001-07-27 Thread Fred Clift
On Thu, 26 Jul 2001, Steven Ames wrote: > public IP space. I might be off here but I think the real problem with > two seperate networks on one card (or even on two cards) would be > the default route (can't have two right?) and which IP address gets > used as the 'source IP' on packets leaving t

Re: Why two cards on the same segment...

2001-07-26 Thread Terry Lambert
Matt Dillon wrote: > I wish it were that easy. If you have two interfaces on the same LAN > segment, but one is configured with an internal IP and one is > configured with an external IP, and the default route points out the > interface configured with the external IP, then you ar

Re: Why two cards on the same segment...

2001-07-26 Thread Terry Lambert
Steven Ames wrote: > > You lost me. How what is being done? You can use ifconfig to assign > as many blocks/netmasks as you feel the urge to. It'll do it. Actually, you'll get an "address in use" error; it will add the IP alias to the card, but in fact, it will not really dso the job: the ifconf

Re: Why two cards on the same segment...

2001-07-26 Thread Terry Lambert
Steven Ames wrote: > I don't think the networking code knows/cares if something is private or > public IP space. I might be off here but I think the real problem with > two seperate networks on one card (or even on two cards) would be > the default route (can't have two right?) and which IP addres

Re: Why two cards on the same segment...

2001-07-26 Thread Matt Dillon
:.. :> You have to explicitly bind to the correct source IP if you care. :> :> For our machines I bind our external services specifically to the :> external IP. Beyond that I usually don't care because I NAT-out our :> internal IP space anyway, so any packets sent 'from' an inter

Re: Why two cards on the same segment...

2001-07-26 Thread Steve Ames
On Thu, Jul 26, 2001 at 05:24:43PM -0500, Chris Dillon wrote: > Hmm.. That hasn't been my experience at all. I have _always_ seen > outgoing connections use a source address of the closest interface > address that exists on the same IP network as the destination, OR, if > it is a non-local destin

Re: Why two cards on the same segment...

2001-07-26 Thread Chris Dillon
On Thu, 26 Jul 2001, Matt Dillon wrote: > I wish it were that easy. If you have two interfaces on the same LAN > segment, but one is configured with an internal IP and one is > configured with an external IP, and the default route points out the > interface configured with the ex

Re: Why two cards on the same segment...

2001-07-26 Thread Steven Ames
> I cannot believe its random. On the other hand (haven't tried this in FBSD, > but in Solaris it works), > if you assign an interface like this: > > ifconfig ed0 inet 204.120.165.1 netmask 0xff00 > ifconfig ed0 inet 204.120.165.2 netmask 0xff00 Second line should read: ifconfig ed0 inet

Re: Why two cards on the same segment...

2001-07-26 Thread Steven Ames
> If you have one interface with *two* ip addresses. For example (taking > a real life example): > > ash:/home/dillon> ifconfig > fxp0: flags=8843 mtu 1500 > inet 208.161.114.66 netmask 0xffc0 broadcast 208.161.114.127 > inet 10.0.0.3 netmask 0xff00 broadcast 10.0.

Re: Why two cards on the same segment...

2001-07-26 Thread Chris Dillon
On Thu, 26 Jul 2001, Jonathan M. Slivko wrote: > Yes, but, I think the issue with the 2 IP classes working is > because one is not routable, and therefore it's not a real > IP address, and the router knows this, hence it's not reacting to > it by stopping to work. As long as you use virtual ip's

Re: Why two cards on the same segment...

2001-07-26 Thread Matt Dillon
s" <[EMAIL PROTECTED]> :> To: "Jonathan M. Slivko" <[EMAIL PROTECTED]>; "Chris Dillon" :> <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> :> Sent: Thursday, July 26, 2001 4:56 PM :> Subject: Re: Why two cards on the same segment... :> :> :>

Re: Why two cards on the same segment...

2001-07-26 Thread Steven Ames
/ > > > - Original Message - > From: "Steven Ames" <[EMAIL PROTECTED]> > To: "Jonathan M. Slivko" <[EMAIL PROTECTED]>; "Chris Dillon" > <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, July 26, 2001 5:07 PM

Re: Why two cards on the same segment...

2001-07-26 Thread Jonathan M. Slivko
ko <[EMAIL PROTECTED]> Blinx Networks http://www.blinx.net/ - Original Message - From: "Steven Ames" <[EMAIL PROTECTED]> To: "Jonathan M. Slivko" <[EMAIL PROTECTED]>; "Chris Dillon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

Re: Why two cards on the same segment...

2001-07-26 Thread Steven Ames
//www.blinx.net/ > > - Original Message - > From: "Steven Ames" <[EMAIL PROTECTED]> > To: "Jonathan M. Slivko" <[EMAIL PROTECTED]>; "Chris Dillon" > <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, July 26, 2

Re: Why two cards on the same segment...

2001-07-26 Thread Jonathan M. Slivko
nx Networks http://www.blinx.net/ - Original Message - From: "Steven Ames" <[EMAIL PROTECTED]> To: "Jonathan M. Slivko" <[EMAIL PROTECTED]>; "Chris Dillon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 4:56 PM Subject

Re: Why two cards on the same segment...

2001-07-26 Thread Steven Ames
> Yes, but, I think the issue with the 2 IP classes working is because one is > not routable, and therefore it's not a real > IP address, and the router knows this, hence it's not reacting to it by > stopping to work. As long as you use virtual > ip's (192.168.*.*) then there should be no reason

Re: Why two cards on the same segment...

2001-07-26 Thread Jonathan M. Slivko
t;Eugene L. Vorokov" <[EMAIL PROTECTED]>; "Soren Kristensen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 4:45 PM Subject: Re: Why two cards on the same segment... > On Thu, 26 Jul 2001, Terry Lambert wrote: &

Re: Why two cards on the same segment...

2001-07-26 Thread Soren Kristensen
Hi, Alfred Perlstein wrote: > > > > > > Things seem to work fine now, but I still get a lot of those: > > > > > > > > > > "Jul 26 00:43:48 test256m /kernel: arp: 192.168.1.4 is on sis0 but got > > > > > reply from 00:a0:cc:a0:d4:07 on sis1" > > > > > > > > > > Anybody know how to turn them off ?