LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   RedHat 9 dhcp or static? (http://www.linuxquestions.org/questions/linux-networking-3/redhat-9-dhcp-or-static-125567/)

MongeK 12-13-2003 03:10 PM

RedHat 9 dhcp or static?
 
Hi!

I've just installed RedHat 9 on the computer.
I've got two nics. eth0 is connected to The Net by DHCP and it's working just fine
eth1 is connected to my XBOX with a x:ed tp-cable. (physically connected, that is. It's not working...)
And the XBOX need connection to internet as well...newsfeed and xbox-live....

I also want to remove the xbox and connect a laptop occasionly.

I enabled the firewall-iptable when asked during install...

So, where do I start and how? :)

MongeK 12-14-2003 10:07 AM

Hmm... The strange thing is that when i follow the guide at: http://www.redhat.com/docs/manuals/l...ng-server.html


I get an Ip from the dhcpd
I can ping the Xbox
but i cannot ftp to it
I can ftp to the linuxbox but it hangs before the dirs begins to list

Any ideas?

oh, bthw.. i've tried to shut down the lookit service, but it's the same


FYI


This is the output of my /var/lib/dhcp/dhcpd.leases

lease 192.168.0.3 {
starts 0 2003/12/14 15:33:06;
ends 0 2003/12/14 21:33:06;
tstp 0 2003/12/14 21:33:06;
binding state active;
next binding state free;
hardware ethernet 00:50:f2:db:15:b8;
uid "\001\000P\362\333\025\270";
}

This is the output of /etc/dhcpd.conf

ddns-update-style interim;
ignore client-updates;

subnet 192.168.0.0 netmask 255.255.255.0 {

# --- default gateway
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;

# option nis-domain "mongek.org";
# option domain-name "mongek.org";
# option domain-name-servers 192.168.0.1;

option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.0.1;
option netbios-name-servers 192.168.0.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;

range dynamic-bootp 192.168.0.0 192.168.0.255;
default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 00:50:f2:db:15:b8;
# fixed-address 192.168.0.3;
# }
}

slackhappy 12-14-2003 12:05 PM

I did something similar. However I took the easy way out and used software. If you are interested check out. http://firestarter.sourceforge.net/ This program is easy to install and worked instantly.


All times are GMT -5. The time now is 05:46 PM.