<html>
<body>
The example is for Linksys however similar rules apply for other<br>
brand names.<br><br>
For starters reinstalling RH9 will only put you where you are now.<br>
Configuring RH9 is what you need to do. RH9 is not winodws.<br><br>
Without going into the weeds, look at the simple solutions first<br>
without making any assumptions. If you have a Linsys Broadband<br>
DSL or Ethernet Hub/Switch that you can access via a web browser<br>
typically by opening the browser to 192.168.0.1 and logging into 
the<br>
administrative tools area. [ check you appropriate owners manual
]<br><br>
Under the first tab called Home, if Linksys, click the left hand
side<br>
button called LAN. In here you setup your systems to be exposed<br>
to the network through the router by port number. If your router 
has<br>
a internal IP address of 192.168.0.1 then that IP is your gateway,
all<br>
the other systems would be 192.169.0.xxx with a netmask that is<br>
the same, doesn't matter what, as long as they are the same, I'd<br>
use 255.255.255.0 .<br><br>
So lets recap ... your router is 192.168.0.1 from inside your LAN
and<br>
it is whatever your IP address is from outside the LAN. Your first
RHL<br>
system should be IP 192.168.0.100 - netmask 255.255.255.0 - gateway<br>
192.168.0.1 and don't worry about the broadcast. Use
"netconfig" at the<br>
command line as root to set the IP of your RHL system.<br><br>
Then go into your router, 192.168.0.1 username / password and in 
the<br>
section where you define the systems exposed to the network, add
your<br>
first system, 192.168.0.100 and if you wish to run this system as a
web<br>
server you would then expose port 80 and either schedule a time it
is<br>
exposed or make it exposed at all times.<br><br>
In a setup like this, the RHL system is not the system that holds the
IP<br>
address, rather your router is the IP address that exposes just ports
on<br>
your other systems. Even if you only have one system, the router is
still<br>
the holder of the IP. [ check you appropriate manual for router
configuration<br>
information, typically your router must be setup first ]<br><br>
If your not using a router or switch of any type, but rather just
connecting<br>
your RHL system directly to your RJ connection at the wall, then
configure<br>
it as the IP, netmask and the gateway of the switch/hub/router that
controls<br>
the LAN. Typically those switches have "ping" disabled to
protect other<br>
systems on the LAN from denial of service attacks like "ping
floods". Instead<br>
of using "ping" to find other systems, use
"traceroute" like this:<br><br>
[you@yoursystem]$ traceroute yahoo.com .<br><br>
There are many more details but this should help hopefully.<br><br>
Steve Larsen<br><br>
<br>
At 02:01 PM 3/26/2004 +0000, shatam bhattacharya wrote:<br><br>
<blockquote type=cite class=cite cite><font face="Courier New, Courier">Hi,
<br>
</font><br>
<font face="Courier New, Courier">The original problem was that I am not
able to connect my rhl 9 box to my college LAN. I am including the
following trouble shooting info and the clarification for the subnet mask
(after consulting the NA) is that it is actually 255.255.0.0 for our
hostel. I regret the mistake of giving the wrong data. The college server
is based on rhl 9. I can ping only my system with ip 172.31.65.21 (local)
and not even the systems connected through my switch ( on the same floor)
. Please take a look at  the following. And by the way ping is not
disabled as it working on  other systems. <i>One important question
is that if I make up my mind of reinstalling rhl 9 what factors should I
keep in mind to avoid such problems in future ?</i>Please suggest ! the
needfull. with thanks and regards <br>
</font><br>
<font face="Courier New, Courier">shatam<br>
</font><br>
 <br><br>
<b>uname -a<br>
</b><br>
Linux gomti 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686
i386 GNU/Linux<br><br>
 <br><br>
<font face="Courier New, Courier"><b>lspci output<?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><br>
</b></font><br>
<font face="Courier New, Courier">00:00.0 Host bridge: Intel Corp.
82845G/GL [Brookdale-G] <?xml:namespace prefix = st1 ns =
"urn:schemas-microsoft-com:office:smarttags" />Chipset Host
Bridge (rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:02.0 VGA compatible controller:
Intel Corp. 82845G/GL [Brookdale-G] Chipset Integrated Graphics Device
(rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:1d.0 USB Controller: Intel Corp.
82801DB USB (Hub #1) (rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:1d.1 USB Controller: Intel Corp.
82801DB USB (Hub #2) (rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:1d.2 USB Controller: Intel Corp.
82801DB USB (Hub #3) (rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:1d.7 USB Controller: Intel Corp.
82801DB USB EHCI Controller (rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:1e.0 PCI bridge: Intel Corp.
82801BA/CA/DB PCI Bridge (rev 81)<br>
</font><br>
<font face="Courier New, Courier">00:1f.0 ISA bridge: Intel Corp. 82801DB
ISA Bridge (LPC) (rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:1f.1 IDE interface: Intel Corp.
82801DB ICH4 IDE (rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:1f.3 SMBus: Intel Corp. 82801DB
SMBus (rev 01)<br>
</font><br>
<font face="Courier New, Courier">00:1f.5 Multimedia audio controller:
Intel Corp. 82801DB AC'97 Audio (rev 01)<br>
</font><br>
<font face="Courier New, Courier">01:02.0 Ethernet controller: Realtek
Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)<br>
</font><br>
<font face="Courier New, Courier"> <br>
</font><br>
<font face="Courier New, Courier"><b>ifconfig output<br>
</b></font><br>
<font face="Courier New, Courier">eth0     <br><br>
Link encap:Ethernet  HWaddr 00:08:A1:32:E1:7E  <br><br>
inet addr:172.31.65.21  Bcast:172.31.67.255  Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 RX packets:1
errors:1286 dropped:0 overruns:0 frame:0 TX packets:52 errors:0 dropped:0
overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:60 (60.0
b)  TX bytes:3120 (3.0 Kb)Interrupt:9 Base address:0xcc00 <br><br>
</font> <br><br>
<font face="Courier New, Courier">lo      <br>
</font><br>
<font face="Courier New, Courier">Link encap:Local Loopback inet
addr:127.0.0.1  Mask:255.0.0.0 UP LOOPBACK RUNNING 
MTU:16436  Metric:1 RX packets:375 errors:0 dropped:0 overruns:0
frame:0 TX packets:375 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 <br>
</font><br>
<font face="Courier New, Courier">RX bytes:26209 (25.5 Kb)  TX
bytes:26209 (25.5 Kb)<br>
</font><br>
<font face="Courier New, Courier"> <br>
</font><br>
<font face="Courier New, Courier"><b>Netstat -rn<br>
</b></font><br>
<font face="Courier New, Courier">Kernel IP routing table<br>
</font><br>
<font face="Courier New, Courier">Destination Gway Genmask Flags MSS
Window irtt Iface<br>
</font><br>
<font face="Courier New, Courier">172.31.64.0 0.0.0.0 255.255.252.0 U 0
0    0    eth0<br>
</font><br>
<font face="Courier New, Courier">169.254.0.0 0.0.0.0
255.255.0.0   U 0 0    0   
eth0<br>
</font><br>
<font face="Courier New, Courier">127.0.0.0   0.0.0.0
255.0.0.0     U 0 0   
0    lo<br>
</font><br>
<font face="Courier New, Courier">0.0.0.0    
172.31.65.21 0.0.0.0  UG0 0    0  eth0<br>
</font><br>
<font face="Courier New, Courier"> <br>
</font><br>
>The default route is normally contained in >the
/etc/sysconfig/network<br>
>file as the "GATEWAY=" equate. Here's an example:<br>
>NETWORKING=yes<br>
>HOSTNAME=prophead.corp.publichost.com<br>
>GATEWAY=192.168.0.1<br>
>If you don't have a default route, you can add one using this
command:<br>
>route add -default gw ip-addr-of-your-gateway<br>
>For example, to set up the default route as if it were in the
network<br>
>file:<br>
>route add -default gw 192.168.0.1<br><br>
<font face="Courier New, Courier"><b>contents of
/etc/syconfig/network<br>
</b></font><br>
<font face="Courier New, Courier">NETWORKING=yes<br>
</font><br>
<font face="Courier New, Courier">HOSTNAME=ginie<br>
</font><br>
<font face="Courier New, Courier">GATEWAY=172.31.65.21<br>
</font><br>
<font face="Courier New, Courier"> <br>
</font><br>
<font face="Courier New, Courier">>This is starting to sound like a
firewall issue, >innit?<br>
</font><br>
<font face="Courier New, Courier"> <br>
</font><br>
<font face="Courier New, Courier">>What's the output of 'iptables
-L'?<br>
</font><br>
<font face="Courier New, Courier">>If you get an error because
iptables isn't running, >make sure that<br>
</font><br>
<font face="Courier New, Courier">>that ugly chains crud isn't in the
way by running >'lokkit' and taking<br>
</font><br>
<font face="Courier New, Courier">>appropriate steps.<br>
</font><br>
<font face="Courier New, Courier"> <br>
</font><br>
<font face="Courier New, Courier">>Andy<br>
</font><br>
<font face="Courier New, Courier"> <br>
</font><br>
<font face="Courier New, Courier"><b>iptables -L<br>
</b></font><br>
<font face="Courier New, Courier">Chain INPUT (policy ACCEPT)<br>
target     prot opt
source              
destination         <br>
RH-Lokkit-0-50-INPUT  all  -- 
anywhere            
anywhere          
<br><br>
Chain FORWARD (policy ACCEPT)<br>
target     prot opt
source              
destination         <br>
RH-Lokkit-0-50-INPUT  all  -- 
anywhere            
anywhere          
<br><br>
Chain OUTPUT (policy ACCEPT)<br>
target     prot opt
source              
destination         <br><br>
Chain RH-Lokkit-0-50-INPUT (2 references)<br>
target     prot opt
source              
destination         <br>
ACCEPT     udp  -- 
172.31.100.8        
anywhere           udp
spt:domain dpts:1025:65535 <br>
ACCEPT     udp  -- 
172.31.100.6      &nbs!<br>
p; 
anywhere           udp
spt:domain dpts:1025:65535 <br>
ACCEPT     tcp  -- 
anywhere            
anywhere           tcp
dpt:smtp flags:SYN,RST,ACK/SYN <br>
ACCEPT     tcp  -- 
anywhere            
anywhere           tcp
dpt:h! ttp flags:SYN,RST,ACK/SYN <br>
ACCEPT     tcp  -- 
anywhere            
anywhere           tcp
dpt:ftp flags:SYN,RST,ACK/SYN <br>
ACCEPT     tcp  -- 
anywhere            
anywhere           tcp
dpt:ssh flags:SYN,RST,ACK/SYN <br>
ACCEPT     tcp  -- 
anywhere            
anywhere           tcp
dpt:telnet flags:SYN,RST,ACK/SYN <br>
ACCEPT     udp  -- 
anywhere            
anywhere           udp
spts:bootps:bootpc dpts:bootps:bootpc <br>
ACCEPT     udp  --  anywh!
ere            
anywhere           udp
spts:bootps:bootpc dpts:bootps:bootpc <br>
ACCEPT     all  -- 
anywhere            
anywhere          
<br>
ACCEPT     all  -- 
anywhere            
anywhere          
<br>
REJECT     tcp  -- 
anywhere            
anywhere           tcp
dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable 
<br>
REJECT     tcp  -- 
anywhere            
anywhere           tcp
dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable <br>
REJECT     udp  -- 
anywhere            
anywhere           udp
dpts:0:1023 reject-with icmp-port-unreachable <br>
REJECT     udp  -- 
anywhere            
anywhere           udp
dpt:nfs reject-with icmp-port-unreachable <br>
REJECT     tcp  -- 
anywhere            
anywhere           tcp
dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
<br>
REJECT     tcp  -- 
anywhere            
anywhere           tcp
dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable <br>
 <br>
</font><br><br>
<font face="arial" size=2><a href="http://in.rd.yahoo.com/specials/mailtg/*http://pepsizone.yahoo.co.in/pepsi3/cktkipyaas/">Win
an evening</a> with the <b>Indian cricket captain</b>:
<a href="http://in.rd.yahoo.com/specials/mailtg2/*http://pepsizone.yahoo.co.in/pepsi3/cktkipyaas/">Yahoo!
India Promos</a>.</font> <br>
_______________________________________________<br>
Redhat-install-list mailing list<br>
Redhat-install-list@redhat.com<br>
<a href="https://www.redhat.com/mailman/listinfo/redhat-install-list" eudora="autourl">https://www.redhat.com/mailman/listinfo/redhat-install-list</a><br>
To Unsubscribe Go To ABOVE URL or send a message to:<br>
redhat-install-list-request@redhat.com<br>
Subject: unsubscribe </blockquote></body>
</html>