LinuxQuestions.org
Review your favorite Linux distribution.
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 07-29-2008, 07:41 PM   #1
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Rep: Reputation: 15
Internet Sharing using firestarter


Hello


goodmorning


Iam using firestarter to have a basic firewall in my workstation and i used it for internet sharing also i have two lan card
one is for ISP
2nd is for Internal routing of IP address using DHCP

here is my configuration in client which is automatic distributed the IP
DHCP: from 192.168.1.100 to 192.168.1.254

Client side sample:
IP: 192.168.1.100
Mask: 255.255.255.0
Gateway: 192.168.1.1
DHCP Server: 192.168.1.1
DNS: 192.168.1.1

my problem is there is no internet comes up in any internet browser.
to work the internet connection i have to type the DNS of ISP to the properties of lan card replace or just add the DNS and it will works fine.

for example:
Client side sample:
IP: 192.168.1.100
Mask: 255.255.255.0
Gateway: 192.168.1.1
DHCP Servers: 192.168.1.1
DNS Servers: 210.14.32.21

my questions now is how can i set automatic all client with internet without typing the DNS of ISP?

Please anyone can help...


Sample of my DHCP:
# DHCP configuration generated by Firestarter
ddns-update-style interim;
ignore client-updates;

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.1.1;
option ip-forwarding off;
range dynamic-bootp 192.168.1.100 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;




Thanks...
 
Old 07-31-2008, 06:18 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Since nobody else has posted, I'll jump in here. While I've looked at Firestarter when trying to help somebody else, I've never used it myself. What I'm not sure of is if you can simply edit dhcpd.conf or if Firestarter will then overwrite it. If Firestarter doesn't fight you, the simplest thing to do is edit dhcpd.conf to give your ISP's DNS address(es). This is what I do. A more complete (but more complex) solution would be to run a DNS caching program on your gateway computer. For the simple solution, change the line below that I've highlighted in red. Change 192.168.1.1 to 210.14.32.21. If your ISP provides more than one DNS server (it is common to provide two), make it a comma separtated list.

Quote:
Originally Posted by cheesewizz View Post
Code:
# DHCP configuration generated by Firestarter
ddns-update-style interim;
ignore client-updates;

subnet 192.168.1.0 netmask 255.255.255.0 {
    option routers 192.168.1.1;
    option subnet-mask 255.255.255.0;
    option domain-name-servers 192.168.1.1;
    option ip-forwarding off;
    range dynamic-bootp 192.168.1.100 192.168.1.254;
    default-lease-time 21600;
    max-lease-time 43200;
 
Old 08-01-2008, 11:58 PM   #3
cheesewizz
Member
 
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by blackhole54 View Post
Since nobody else has posted, I'll jump in here. While I've looked at Firestarter when trying to help somebody else, I've never used it myself. What I'm not sure of is if you can simply edit dhcpd.conf or if Firestarter will then overwrite it. If Firestarter doesn't fight you, the simplest thing to do is edit dhcpd.conf to give your ISP's DNS address(es). This is what I do. A more complete (but more complex) solution would be to run a DNS caching program on your gateway computer. For the simple solution, change the line below that I've highlighted in red. Change 192.168.1.1 to 210.14.32.21. If your ISP provides more than one DNS server (it is common to provide two), make it a comma separtated list.
Thank you...


when i changed it everythings got internet without manual typing of DNS in each pc.


 
  


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
Debian firestarter not bridging the internet Matizek Linux - Wireless Networking 5 01-26-2008 04:44 PM
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
firestarter & internet connection sharing imagineaxion Debian 2 02-11-2005 09:23 AM
firestarter-eth0 not ready (thsi is the one i use for the internet it works) gonus Linux - Security 1 08-22-2004 10:01 AM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration