Networking Forums

Networking Forums > Computer Networking > Linux Networking > Home Network won't work

Reply
Thread Tools Display Modes

Home Network won't work

 
 
timk
Guest
Posts: n/a

 
      09-08-2003, 03:45 AM
Help - can't get the home network setup correctly!

I am trying to setup a home network/firewall machine. I have loaded
RedHat 9.0 on this machine. It is connected to a cable router on eth0
and a single dual-boot PC on eth1 (eventually it will be connected to a
hub - once it is working).

I can get the network machine to boot-up and see the internet. It also
obtains (dynamically) an ip-address from my ISP.

The problem is that I can not get the home side PC (either in windows or
linux) to work.

The route and ifconfig give some different results then I have seen and
I am not sure how to fix? Any ideas?

Specifically, the inet and Bcast addresses are different, WHY?:
inet: 123.151.60.244
Bcast: 123.151.63.255

Also, the route has an entry I do not know where it is coming from, any
ideas? How dow I remove it?
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1

Here is the full-output...
ifconfig eth0:
eth0 Link encap:Ethernet HWaddr 00:26:54:07:F5:18
inet addr:123.151.60.244 Bcast:123.151.63.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:424836 errors:139 dropped:0 overruns:1 frame:206
TX packets:6657 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:34687028 (33.0 Mb) TX bytes:536985 (524.3 Kb)
Interrupt:5 Base address:0xc000

ifconfig eth1:
eth1 Link encap:Ethernet HWaddr 00:E0:18D:41:E7
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:42540 (41.5 Kb) TX bytes:504 (504.0 b)
Interrupt:11 Base address:0x6000

and finally route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
123.151.60.0 * 255.255.252.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 123.151.60.1 0.0.0.0 UG 0 0 0 eth0

 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      09-08-2003, 04:13 AM
On Sun, 07 Sep 2003 20:45:27 -0700, timk wrote:
> Help - can't get the home network setup correctly!
>
> I am trying to setup a home network/firewall machine. I have loaded
> RedHat 9.0 on this machine. It is connected to a cable router on eth0
> and a single dual-boot PC on eth1 (eventually it will be connected to a
> hub - once it is working).


Go ahead and cable through hub. If not, you need a crossover cable
nic to nic.

>
> I can get the network machine to boot-up and see the internet. It also
> obtains (dynamically) an ip-address from my ISP.
>
> The problem is that I can not get the home side PC (either in windows or
> linux) to work.


in /etc/sysctl.conf
net.ipv4.ip_forward = 0 <==== set = 1

>
> The route and ifconfig give some different results then I have seen and
> I am not sure how to fix? Any ideas?
>
> Specifically, the inet and Bcast addresses are different, WHY?:
> inet: 123.151.60.244
> Bcast: 123.151.63.255
>
> Also, the route has an entry I do not know where it is coming from, any
> ideas? How dow I remove it?
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
>
> Here is the full-output...
> ifconfig eth0:
> eth0 Link encap:Ethernet HWaddr 00:26:54:07:F5:18
> inet addr:123.151.60.244 Bcast:123.151.63.255 Mask:255.255.252.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:424836 errors:139 dropped:0 overruns:1 frame:206
> TX packets:6657 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:34687028 (33.0 Mb) TX bytes:536985 (524.3 Kb)
> Interrupt:5 Base address:0xc000
>
> ifconfig eth1:
> eth1 Link encap:Ethernet HWaddr 00:E0:18D:41:E7
> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> RX bytes:42540 (41.5 Kb) TX bytes:504 (504.0 b)
> Interrupt:11 Base address:0x6000
>
> and finally route:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
> 123.151.60.0 * 255.255.252.0 U 0 0 0 eth0
> 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default 123.151.60.1 0.0.0.0 UG 0 0 0 eth0
>

 
Reply With Quote
 
timk
Guest
Posts: n/a

 
      09-08-2003, 04:33 AM
Bit Twister wrote:
> On Sun, 07 Sep 2003 20:45:27 -0700, timk wrote:
>
>>Help - can't get the home network setup correctly!
>>
>>I am trying to setup a home network/firewall machine. I have loaded
>>RedHat 9.0 on this machine. It is connected to a cable router on eth0
>>and a single dual-boot PC on eth1 (eventually it will be connected to a
>>hub - once it is working).

>
>
> Go ahead and cable through hub. If not, you need a crossover cable
> nic to nic.
>


Okay, but what is the difference? Is there something special about a
crossover cable?

>
>>I can get the network machine to boot-up and see the internet. It also
>>obtains (dynamically) an ip-address from my ISP.
>>
>>The problem is that I can not get the home side PC (either in windows or
>>linux) to work.

>
>
> in /etc/sysctl.conf
> net.ipv4.ip_forward = 0 <==== set = 1
>


Yeah, it is set to 1. Any other suggestions I can try? I still don't
understand the route stuff below...

>
>>The route and ifconfig give some different results then I have seen and
>>I am not sure how to fix? Any ideas?
>>
>>Specifically, the inet and Bcast addresses are different, WHY?:
>>inet: 123.151.60.244
>>Bcast: 123.151.63.255
>>
>>Also, the route has an entry I do not know where it is coming from, any
>>ideas? How dow I remove it?
>>Destination Gateway Genmask Flags Metric Ref Use Iface
>>169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
>>
>>Here is the full-output...
>>ifconfig eth0:
>>eth0 Link encap:Ethernet HWaddr 00:26:54:07:F5:18
>> inet addr:123.151.60.244 Bcast:123.151.63.255 Mask:255.255.252.0
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:424836 errors:139 dropped:0 overruns:1 frame:206
>> TX packets:6657 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:100
>> RX bytes:34687028 (33.0 Mb) TX bytes:536985 (524.3 Kb)
>> Interrupt:5 Base address:0xc000
>>
>>ifconfig eth1:
>>eth1 Link encap:Ethernet HWaddr 00:E0:18D:41:E7
>> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
>> UP BROADCAST MULTICAST MTU:1500 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:100
>> RX bytes:42540 (41.5 Kb) TX bytes:504 (504.0 b)
>> Interrupt:11 Base address:0x6000
>>
>>and finally route:
>>Kernel IP routing table
>>Destination Gateway Genmask Flags Metric Ref Use
>>Iface
>>192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
>>123.151.60.0 * 255.255.252.0 U 0 0 0 eth0
>>169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
>>127.0.0.0 * 255.0.0.0 U 0 0 0 lo
>>default 123.151.60.1 0.0.0.0 UG 0 0 0 eth0
>>


 
Reply With Quote
 
tk
Guest
Posts: n/a

 
      09-11-2003, 05:09 AM
Bit Twister wrote:

>On Sun, 07 Sep 2003 21:33:33 -0700, timk wrote:
>
>
>>Bit Twister wrote:
>>
>>
>>>On Sun, 07 Sep 2003 20:45:27 -0700, timk wrote:
>>>
>>>
>>>
>>>>Help - can't get the home network setup correctly!
>>>>
>>>>I am trying to setup a home network/firewall machine. I have loaded
>>>>RedHat 9.0 on this machine. It is connected to a cable router on eth0
>>>>and a single dual-boot PC on eth1 (eventually it will be connected to a
>>>>hub - once it is working).
>>>>
>>>>
>>>Go ahead and cable through hub. If not, you need a crossover cable
>>>nic to nic.
>>>
>>>
>>>

>>Okay, but what is the difference? Is there something special about a
>>crossover cable?
>>
>>

>
>
>Yes, tx/rx pins are crossed to each other.
>
>
>
>>>>I can get the network machine to boot-up and see the internet. It also
>>>>obtains (dynamically) an ip-address from my ISP.
>>>>
>>>>The problem is that I can not get the home side PC (either in windows or
>>>>linux) to work.
>>>>
>>>>
>>>in /etc/sysctl.conf
>>>net.ipv4.ip_forward = 0 <==== set = 1
>>>
>>>
>>>

>>Yeah, it is set to 1. Any other suggestions I can try? I still don't
>>understand the route stuff below...
>>
>>

>
>Here is mine, I have eth1 to cable, eth0 to hub
>the UG line is the gateway to my ISP gateway 12.209.206.1
>all LAN traffic (192.168.1.*) goes to eth0.
>
>/sbin/route -n
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use Iface
>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
>12.209.206.0 0.0.0.0 255.255.254.0 U 0 0 0 eth1
>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
>0.0.0.0 12.209.206.1 0.0.0.0 UG 0 0 0 eth1
>
>You do appear the have an extra eth1
>
>
>
>>>>and finally route:
>>>>Kernel IP routing table
>>>>Destination Gateway Genmask Flags Metric Ref Use
>>>>Iface
>>>>192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
>>>>123.151.60.0 * 255.255.252.0 U 0 0 0 eth0
>>>>169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
>>>>127.0.0.0 * 255.0.0.0 U 0 0 0 lo
>>>>default 123.151.60.1 0.0.0.0 UG 0 0 0 eth0
>>>>
>>>>

>
>
>You need to get rid of the following line.
>
>
>
>>>>169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
>>>>
>>>>

Okay, so how do I do that?

 
Reply With Quote
 
Timothy Murphy
Guest
Posts: n/a

 
      09-11-2003, 10:49 AM
tk wrote:

>>You need to get rid of the following line.


>>>>169.254.0.0 * 255.255.0.0 U 0 0 0
>>>>>eth1


> Okay, so how do I do that?


It must have got there somehow.
Try "grep -r 169.254 /etc".



--
Timothy Murphy
e-mail: (E-Mail Removed)
tel: +353-86-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
timk
Guest
Posts: n/a

 
      09-18-2003, 02:06 AM
Thanks, I found this being put in under
/etc/sysconfig/network-scripts/ifup. Why I am not sure. So I commented
that out and the route table looks more like it should.
But, I still cannot get the home side of the network to work? I tried
swaping cables and swaping cable and home ports to no avail.
I am using default installed Redhat 9.0. Do I need to recompile the
kernel for some reason?

Timothy Murphy wrote:
> tk wrote:
>
>
>>>You need to get rid of the following line.

>
>
>>>>>169.254.0.0 * 255.255.0.0 U 0 0 0
>>>>>
>>>>>>eth1

>
>
>>Okay, so how do I do that?

>
>
> It must have got there somehow.
> Try "grep -r 169.254 /etc".
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home network won't work Chas Wireless Networks 2 08-07-2008 01:49 PM
Cannot connect from work laptop to home network Ray Donahue Broadband Hardware 1 02-14-2005 06:14 PM
Can't Get DSL To Work After Setting Up Home Network Stacia Windows Networking 0 10-06-2003 10:11 AM
Home wireless network unavailable after connecting to work network - Windows XP Linksys Router Marc J. Osborne Home Networking 0 10-05-2003 02:48 PM
How do i configue to use work domain and home network? Steven Elwell Windows Networking 0 08-26-2003 02:57 AM



1 2 3 4 5 6 7 8 9 10 11