LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-24-2004, 10:05 AM   #1
baremacho
LQ Newbie
 
Registered: Oct 2003
Location: Nagano,Japan
Distribution: fedora1/2/3,Laser5
Posts: 13

Rep: Reputation: 1
router setting


hi guys,

I just set up fedora core 1 as my router.
The problem is that I can't access internet(I mean that I can't browse website)
from my linux box.But my LAN computers can access internet and browse
website.Maybe I misconfigured the iptables things or misconfigured how to assign ip to each ip cause I assign them with GUI and not by the command.

I got my eth0 as my external NIC and eth1 as my internal NIC.

okay,this is part of my firewall scripts:

INNER_NET=192.168.0.0/24
FWALL_IP=192.168.0.1
INNER_PORT=eth1
OUTER_PORT=ppp0
IPTABLES="/sbin/iptables"
MODPROBE="/sbin/modprobe"

and so on...

and i use rp-pppoe to connect to internet which means i have dynamic ip.

Can anyone help me how to solve this problem?

thanks..
 
Old 10-24-2004, 10:26 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Do you have your ISPs DNS servers listed in /etc/resolv.conf?
 
Old 10-24-2004, 12:56 PM   #3
baremacho
LQ Newbie
 
Registered: Oct 2003
Location: Nagano,Japan
Distribution: fedora1/2/3,Laser5
Posts: 13

Original Poster
Rep: Reputation: 1
hey..it helps me a alot..thanks...
btw..it was set 127.0.0.1
and i dont know what the meaning of it.
btw..thanks.
 
Old 10-24-2004, 02:36 PM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
The setting of 127.0.0.1 points to your local machine. This is if you have an own DNS server running on the same machine.
 
Old 10-25-2004, 08:51 AM   #5
baremacho
LQ Newbie
 
Registered: Oct 2003
Location: Nagano,Japan
Distribution: fedora1/2/3,Laser5
Posts: 13

Original Poster
Rep: Reputation: 1
really?somewhat it change when i reboot the pc.anyway..thanks again.I can put it manually if i want to browse
the internet.

Well,actually I want to run server and also router from my fedora core 1.
I have succesfully build a router and my network can browse the internet and share files.
Well right now i'm still configuring how to make a DNS server.

well,when i run command 'service named start' and i
want to check at /var/log/messages

this error appear.

Code:
Oct 25 08:51:31 araki named[6700]: starting BIND 9.2.2-P3 -u named -t /var/named/chroot
Oct 25 08:51:31 araki named[6700]: using 1 CPU
Oct 25 08:51:31 araki named[6700]: loading configuration from '/etc/named.conf'
Oct 25 08:51:31 araki named[6700]: no IPv6 interfaces found
Oct 25 08:51:31 araki named[6700]: listening on IPv4 interface lo, 127.0.0.1#53
Oct 25 08:51:31 araki named[6700]: listening on IPv4 interface eth1, 192.168.0.1#53
Oct 25 08:51:31 araki named[6700]: command channel listening on 127.0.0.1#953
Oct 25 08:51:31 araki named[6700]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2004091501
Oct 25 08:51:31 araki named[6700]: zone 0.168.192.in-addr.arpa/IN: loaded serial 1
Oct 25 08:51:31 araki named[6700]: dns_master_load: localhost.zone:3: ignoring out-of-zone data (shinshu-u.org)
Oct 25 08:51:31 araki named[6700]: dns_master_load: localhost.zone:15: unknown RR type 'IN'
Oct 25 21:51:31 araki named: named startup succeeded
Oct 25 08:51:31 araki named[6700]: zone localhost/IN: loading master file localhost.zone: unknown class/type
Oct 25 08:51:31 araki named[6700]: zone shinshu-u.org/IN: loaded serial 1
Oct 25 08:51:31 araki named[6700]: running
Oct 25 08:51:31 araki named[6700]: zone shinshu-u.org/IN: sending notifies (serial 1)
Oct 25 08:51:31 araki named[6700]: zone 0.168.192.in-addr.arpa/IN: sending notifies (serial 1)
Oct 25 21:51:43 araki kernel: UNDEFIND_INPUT: IN=ppp0 OUT= MAC= SRC=xxx.xxx.xxx.xxx
DST=xxx.xxx.xxx.xxx LEN=48 TOS=0x00 PREC=0x00 TTL=119 ID=3276 DF PROTO=TCP 
SPT=3554 DPT=445 WINDOW=65044 RES=0x00 SYN URGP=0
don't know where i did the mistake.Maybe I misconfigured the eth0 and eth1 things.
Does anyone know where i should fix it?
 
Old 10-25-2004, 09:35 AM   #6
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
First you will have to create a valid setup of zone files for the domains you control.
To understand this you will have to catch up on some reading on how the DNS system is built and how these zone files work. There are graphical programs to do this configuration, but you would still have to know how it works.

If you don't want to serve your own domain you can set up a caching only server.

Have a look at DNS how-to on www.tldp.org
 
  


Reply



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
Setting up router c00l Linux - Networking 1 02-05-2005 07:15 PM
Setting up a router. iammike General 1 10-09-2004 03:09 PM
router setting?? chyan Linux - Networking 3 05-19-2004 08:59 PM
Setting up Router DavidTempler Linux - Networking 4 11-09-2003 12:55 PM
Setting up a router Saris Linux - Networking 1 10-02-2003 02:20 AM

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

All times are GMT -5. The time now is 07:04 PM.

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