LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-13-2003, 03:10 PM   #1
MongeK
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Rep: Reputation: 0
Talking 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?

Last edited by MongeK; 12-13-2003 at 03:12 PM.
 
Old 12-14-2003, 10:07 AM   #2
MongeK
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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;
# }
}
 
Old 12-14-2003, 12:05 PM   #3
slackhappy
Member
 
Registered: Dec 2003
Location: Ontario, Canada
Distribution: RH 7.3 - 9, Slackware 9.1
Posts: 43

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
From DHCP to static IP. dave`2005 Slackware 3 08-22-2005 09:12 AM
Help switching from Static IP to DHCP on Redhat Linux 9 asilentmurmur Linux - Networking 8 08-16-2005 08:08 PM
Redhat 9 auto-dhcp on static interface snigglyfox Linux - Networking 1 10-01-2004 10:39 AM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM
DHCP or Static Culbert Linux - Networking 1 03-14-2003 07:42 PM


All times are GMT -5. The time now is 03:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration