Specific interface to default route



Dear all,

I have two (ethernet) network interface with IP address within the same subnet, call it msk0 and nfe0.

Interface msk0 have IP address 192.168.0.2 and nfe0 192.168.0.3 and default router IP address is 192.168.0.1.

I want only nfe0 that can talk to default router while keeping msk0 reachable within subnet (answer to ping from hosts with same subnet and so on).

Is it possible? What should I put in /etc/rc.conf file?

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Running out of DHCP address leases howto rectify?
    ... which also hosts DNS andDHCPfor 4 floors. ... This subnet needs to be migrated to a 10.16.128.0/23 subnet range ... If you want to keep with the separatesubnetsfor each floor, ... Change the DC/DNS servers IPs ...
    (microsoft.public.windows.server.general)
  • Calculating subnet hosts
    ... Your company has been assigned a network ID of 197.132.240.0. ... The max number of hosts per subnet is 25. ... Class A addresses have the highest level bit turned ...
    (microsoft.public.cert.exam.mcse)
  • Re: OT: Setting up subnets (for dummies)
    ... or they are already on a different subnet). ... You can have the router, or whatever else is serving up DHCP, split up the ... that goes to 16 hosts, ... You can set up a DHCP server on a regular OS X client box ...
    (uk.comp.sys.mac)
  • Re: Noob basic network segmenting help
    ... If I put a router on each floor for each new subnet what are the implications for DHCP, domain controllers, etc? ... How does a host on one subnet get a DHCP address in the correct range from a domain controller on a different subnet? ... Do one segment for every 200+/- hosts. ... A good way to have a multi-interface Router is to buy a Layer3 Switch and group the ports into "interfaces" associated with each segment. ...
    (microsoft.public.windows.server.networking)
  • Re: IP Address problems
    ... Accidently mailed this to DLP instead of posting it. ... change your network to /24 or move your router and gateway up into your network. ... mask subnets valid hosts per total hosts ... so can't be used for hosts, so there are 2 fewer hosts per subnet ...
    (comp.os.vms)