Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
DHCP,IPTABLEs
Results 1 to 2 of 2

Thread: DHCP,IPTABLEs

  1. #1

    Exclamation DHCP,IPTABLEs

    Hi,
    I am setting up a linux box running fedora enterprise server 4 to replace my ever malfunctioning Zywall 2 router.
    the server has two NICs and i have assigned one the pulic IP and the other is set to get from DHCp however i dont know where to enable DHCp and to set the eth0 to be my gateway so that my internet link is shared in the LAN. please advise,
    Waitongu.

  2. #2
    Junior Member
    Join Date
    Sep 2006
    Posts
    70
    Quote Originally Posted by Waitongu View Post
    Hi,
    I am setting up a linux box running fedora enterprise server 4 to replace my ever malfunctioning Zywall 2 router.
    the server has two NICs and i have assigned one the pulic IP and the other is set to get from DHCp however i dont know where to enable DHCp and to set the eth0 to be my gateway so that my internet link is shared in the LAN. please advise,
    Waitongu.

    To specify DHCP server,
    # vi /etc/sysconfig/network-scripts/ifcfg-eth0
    paste the following:

    DEVICE=eth0
    BOOTPROTO=dhcp
    ONBOOT=yes

    save it and restart eth0 interface. all above should be accomplished as a root.

    set eth0 as a gateway by
    # route add default gw <gateway ip or hostname> eth0

Similar Threads

  1. Dhcp help
    By soccer05 in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 12-26-2012, 02:42 PM
  2. Dhcp Dns
    By natishkc in forum Redhat / Fedora
    Replies: 4
    Last Post: 04-01-2008, 09:13 AM
  3. please help with DHCP
    By mujtba in forum Linux - General Topics
    Replies: 2
    Last Post: 02-14-2005, 01:31 PM
  4. Disable Wireless Router DHCP and Use Linux DHCP Server?
    By omnivore in forum Linux - General Topics
    Replies: 0
    Last Post: 01-19-2005, 04:18 PM
  5. DHCP
    By mugs in forum Linux - Hardware, Networking & Security
    Replies: 14
    Last Post: 11-20-2002, 04:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •