Re: Re[2]: 2 Network Cards 2 IP's?

2004-10-27 Thread pete wright
On Wed, 27 Oct 2004 07:54:40 +0200, Hexren [EMAIL PROTECTED] wrote:
 
 JP On Tuesday 26 October 2004 21:20, Hexren wrote:
   For example:
  
   192.168.1.100 on NIC 1
  
   192.168.1.101 on NIC 2
  
   Gateway 192.168.1.1
 
  --
 
  Am I seeing the wrong problem when I say that:
 
  #ifconfig NIC1 192.168.1.100
  #ifconfig NIC1 192.168.1.101
  #route add default 192.168.1.1
 
  should do what you want ?
 
  Hexren
 
 JP You can't put two NICs w/ the same subnet into a FBSD machine
 
 -
 
 I can't challenge that I never tried but it should surprise me if that
 was true. What error message does the system give if you try to do
 that ?
 

as per previous posts in this thread.  basicly you get warning
messages in your logs like so:
 

 xl0
 arp: 192.168.1.100 is on fxp0 but got reply from 00:02:b3:9f:74:89 on
 xl0
 arp: 192.168.1.1 is on fxp0 but got reply from 00:07:e9:10:43:78 on

which can be diabled:
net.link.ether.inet.log_arp_wrong_iface: 1

i belive, don't have a box to check the sysctl with right now


-p


-- 
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: 2 Network Cards 2 IP's?

2004-10-26 Thread Hexren

 
 For example:
 
 192.168.1.100 on NIC 1
 
 192.168.1.101 on NIC 2
 
 Gateway 192.168.1.1 

--

Am I seeing the wrong problem when I say that:

#ifconfig NIC1 192.168.1.100
#ifconfig NIC1 192.168.1.101
#route add default 192.168.1.1

should do what you want ?

Hexren

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


Re[2]: 2 Network Cards 2 IP's?

2004-10-26 Thread Hexren

JP On Tuesday 26 October 2004 21:20, Hexren wrote:
  For example:
 
  192.168.1.100 on NIC 1
 
  192.168.1.101 on NIC 2
 
  Gateway 192.168.1.1

 --

 Am I seeing the wrong problem when I say that:

 #ifconfig NIC1 192.168.1.100
 #ifconfig NIC1 192.168.1.101
 #route add default 192.168.1.1

 should do what you want ?

 Hexren

JP You can't put two NICs w/ the same subnet into a FBSD machine


-

I can't challenge that I never tried but it should surprise me if that
was true. What error message does the system give if you try to do
that ?

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