Re: routing, 2 nics, and a default gateways

2004-02-13 Thread Grzegorz Burzyski
You wrote:
I have 2 nics. The first has about 30 ips assigned to it and working
 correctly. The other was a backup nic for the ISP backup network, but its
 now I was asked to assign ips and a default gateway specification to
 it,because we ran out of usable ips on the 1st nic, so we have a new
 netblock ready for assignment.

 Hello!
 It sounds strange to me, that you got 30 IPs assigned to 1 NIC and
 you ran out of usable ones. Didn't you think about changing size of
 your subnet assigned to that NIC? If you'll assign a subnet mask of
 255.255.255.0 you'll get 254 usable IPs. Now you can forget about
 your 2nd NIC. All you have to do (after changing the subnet mask on
 server) is to change mask on hosts in your network (you can leave
 other settings unchanged).
 Hope it will work for you.

 Greetz
 Grzegorz Burzyski
 
 There are 10 kinds of people
 those who understand binary
 and those who don't.

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


Re: routing, 2 nics, and a default gateways

2004-02-12 Thread matthew


On Thu, 12 Feb 2004, SixthSense Server Admin wrote:

 Hi list,

 I need help on this problem:

 I have 2 nics. The first has about 30 ips assigned to it and working
 correctly. The other was a backup nic for the ISP backup network, but its
 now I was asked to assign ips and a default gateway specification to
 it,because we ran out of usable ips on the 1st nic, so we have a new
 netblock ready for assignment.

Ok, you have 30 ips assigned by your ISP on your external nic. Gotcha.
You have lets say one ?private IP? on your internal nic.

 The trouble is, I don't know how to this
 remotely without cutting the internet access from this server. I thought
 on adding the ips to the 2nd nic (about 60 of them), but I don't know how
 I can make the default route for this nic to work. As far as i know, as
 soon as I type route add default gateway-of-2nd-nick ,the internet
 connection will be dropped. I don't know, have never tried this kind of
 setup. Any help would be appreciated!


Are these new ips all public ips assigned from your ISP?

Will some of these public ips be used on machines behind
the internal backup nic?

Since you have 30 ips on one nic you are well aware of
ifconfig fxp0 alias 192.168.1.100 netmask 255.255.255.255
type of usage...

How about describing your goals better and maybe I can help.

m




 --
 http://www.6s-gaming.com - your online store!

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 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]