Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Misc > Archive::Off Topic

Archive::Off Topic Archive area for Off Topic's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-16-2002, 04:38 AM
Nunnehi
Fire Beetle
 
Join Date: Jan 2002
Posts: 20
Default Linux Questions

Hello

I'm a non-certified 2000 Admin, and I'm trying to learn linux. From what I've gathered up(from various sites), I believe I can generate a LAN, and NAT the connection together. I would like some input on this:

Keep in mind that I have already set a static IP address to eth0.

The IP address (LAN)blocks I want are:

Linux Server: 10.0.1.1
IP Blocks: 10.0.1.2-10.0.1.253
Subnet Mask: 255.0.0.0
Gateway: 10.0.1.254

The external Internet IP is handled via PPP, and it is dynamic.

Question #1: Do I setup eth0's gateway to 10.0.1.254?

-----------------

Please run through these steps/commands and tell me if they are correct:

(the clients are windows machines)
"route add 255.255.255.255 dev eth0"
*edit /etc/dhcpd.conf*
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.0.0.0;
option broadcast-address 10.0.1.255;
option routers 10.0.1.254;
option domain-name-servers (external dns), (external DNS);
option domain-name "matrix.local" ;

subnet 10.0.1.0 netmask 255.0.0.0 {
range 10.0.1.2 10.0.1.253;
}
*save, exit*

"touch /var/state/dhcp/dhcpd.leases"

"ipchains -A input -s 10.0.1.0/24 -p TCP -j REDIRECT"
"ipchains -P forward -s 10.0.1.0/24 -j MASQ"

*edit /etc/sysconfig/network*
*change FORWARD_IPV4=false to true*
*exit*
*reboot*

goto Windows machines and setup DHCP.

Will this work, or am I missing steps?
Reply With Quote
 


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 On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:56 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3