FreeBSD 2 nic one to route one to DB - how do I?



I have a lovely server whit two nics. I want to "abuse" them both :)

The first nic should handle the normal www traffic (The outsite card)
The second nic should route to the DB server.

My OS is FreeBSD 6.1-RELEASE
www= Apache 2.2

The DB is Mysql 5.x

My IP-Addresses is 87.52.171.128/24 and the IP to the first nic is
87.52.171.131

How do I set this up to force the second nic only to get to the DB server
(Only one nic installed)

Other hardware to use for networking build is two swicthes One fare better
than the second, therefore I'll prefere to only use that one. One Cisco
router.

I have been reading a lot on this site
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html
but i didn't understand it :/ mayby I have been reading to little.

Please give me the exact scipting lines and setup (For dummies)


.



Relevant Pages

  • Re: Upgrade SBS2000 to 2003 ICW failure - certificates?
    ... Can you post the ipconfig/all from the server? ... nics by the way. ... > Call to Reading the firewall selection returned ok. ... > Call to Reading web publishing selection returned ok. ...
    (microsoft.public.backoffice.smallbiz2000)
  • RE: Devcon remove failure and CEICW setup fails
    ... old NICs cannot be uninstalled. ... we cannot simply restore the server to a different ... | Call to Reading hardware selection returned ok. ... | calling CNetCommit::ValidateRouterConnectionProperties. ...
    (microsoft.public.windows.server.sbs)
  • RWW VPN network help!
    ... I did not set up this server but came ... I set new relationships to the NICs ... Call to Reading hardware selection returned ok. ... Call to Reading web publishing selection returned ok. ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... NIC, you need to specify an external DNS server for DNS, instead of the ... Both NICs should point to his internal IP for DNS. ... forward ports to it reliably in the router. ...
    (microsoft.public.windows.server.sbs)
  • CECIW failing post SP1
    ... Server installed Oct 04, straight SBS 2003 prem, no SQL, with non-UPnP ... broadband router and 2 NICs. ... Call to Reading hardware selection returned ok. ... calling CNetCommit::ValidateRouterConnectionProperties. ...
    (microsoft.public.windows.server.sbs)