![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Assigning a static IP to NICs | sunfan | SUN Solaris | 10 | 01-03-2008 01:28 AM |
| How many NICS do I have? | bigapple100 | SUN Solaris | 2 | 10-29-2007 09:29 PM |
| changeing the MAC addresses on NICS | BG_JrAdmin | SUN Solaris | 1 | 11-17-2006 05:35 AM |
| Merge NICs | bong02 | AIX | 1 | 07-24-2006 08:35 AM |
| Mac addresses of NICs (why are they the same) | hcclnoodles | UNIX for Dummies Questions & Answers | 1 | 05-28-2002 10:38 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
FreeBSD and two NICs
FreeBSD 4.8, Apache 1.3.27 - two NICs, one with a real-world IP plugged into a switch outside the PIX firewall, the other with a private IP plugged into a switch inside the PIX firewall. Apache listens on both IPs. my domain is mydomain.org.
so in /etc/rc.conf i have something like this (these real-world IPs are not really real, just a spammer's IP borrowed for illustration): #rc.conf # defaultrouter "68.208.213.123" ifconfig_de0="inet 68.208.213.123 netmask 255.255.255.0" ifconfig_de1="inet 10.10.10.45 netmask 255.255.0.0" my ISP runs nameservers which point the outside world to mydomain.org at the real-world IP. i run a local nameserver which points users inside our firewall to the private IP. works great....on my LAN. outside my LAN (still behind the PIX) the users can't see/ping the private address. question: is there a way to specify a different default gateway for each of the NICs? i did not see anything which would allow that in the man pages for ifconfig(8) or rc.conf(5). |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|