Networking Forums

Networking Forums > Computer Networking > Linux Networking > Three NIC SuSE 10.0 box routing.

Reply
Thread Tools Display Modes

Three NIC SuSE 10.0 box routing.

 
 
Robert Wilson
Guest
Posts: n/a

 
      03-02-2006, 03:54 PM
Hello,
I apologise if this question is a regular appearance but i need an answer.

I have a SuSE 10.0 box which is acting as my router, and file server. I
have a public IP address, which is tied to my eth0 card.

I also have a pair of NIC's on my local side, which are serving a pair
of networks. One has a number of windows machines and a Windows server
which is streaming Digital Television onto my local network which is
made up solely of Gigabit network cards. This TV stream is UDP
broadcast in nature, with a TTL of one.

The other network is made up of 100Mb devices, including a print server,
and a couple of VOIP devices. Therefore because of the level of
broadcast traffic, it swamps all of my non-gigabit enabled ethernet devices.

I have managed to get a firewall up, and I am able to gain access to the
internet from both of my networks. The network hanging off eth2 is all
made up of statics. The Wi-Fi acess point has it's own DHCP server, so
those using Wi-Fi still get dynamic IP's.

I am running a DHCP server on eth1.

Now I cannot actually route between either of my local networks. This
means that my windows boxes cannot gain access to the print server which
is on the 100Mb side, nor can I see anything on Wi-Fi which is
frustrating because VNC is therefore not available.

The output of my route -n command reads:

LNGBKER0001:/ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
169.254.0.0 0.0.0.0 255.255.0.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 'Public IP' 0.0.0.0 UG 0 0 0 eth0
LNGBKER0001:/ #

My ifconfig also reads:

LNGBKER0001:/ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:2A:56:72:8F
inet addr:'Public IP' Bcast:'Public IP'
inet6 addr: fe80::214:2aff:fe56:728f/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:80611 errors:0 dropped:0 overruns:0 frame:0
TX packets:52448 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:88348094 (84.2 Mb) TX bytes:5597558 (5.3 Mb)
Interrupt:177 Base address:0xe200

eth1 Link encap:Ethernet HWaddr 00:06:4F:0D:74:B8
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::206:4fff:fe0d:74b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1171 errors:0 dropped:0 overruns:0 frame:0
TX packets:1249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:602022 (587.9 Kb) TX bytes:442495 (432.1 Kb)
Interrupt:225 Base address:0xe900

eth2 Link encap:Ethernet HWaddr 00:13:46:3A:BE:B9
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::213:46ff:fe3a:beb9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:99343 errors:0 dropped:0 overruns:0 frame:0
TX packets:148434 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24998451 (23.8 Mb) TX bytes:151819259 (144.7 Mb)
Interrupt:209 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52847 errors:0 dropped:0 overruns:0 frame:0
TX packets:52847 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:40741096 (38.8 Mb) TX bytes:40741096 (38.8 Mb)

LNGBKER0001:/ #



Grateful for any advice given.

Regards,

Rob.

 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      03-03-2006, 03:24 PM
On Thu, 02 Mar 2006 16:54:42 +0000, Robert Wilson
<(E-Mail Removed)> wrote:
> Hello,
> I apologise if this question is a regular appearance but i need an answer.
>
> I have a SuSE 10.0 box which is acting as my router, and file server. I
> have a public IP address, which is tied to my eth0 card.
>
> I also have a pair of NIC's on my local side, which are serving a pair
> of networks. One has a number of windows machines and a Windows server
> which is streaming Digital Television onto my local network which is
> made up solely of Gigabit network cards. This TV stream is UDP
> broadcast in nature, with a TTL of one.
>
> The other network is made up of 100Mb devices, including a print server,
> and a couple of VOIP devices. Therefore because of the level of
> broadcast traffic, it swamps all of my non-gigabit enabled ethernet devices.
>
> I have managed to get a firewall up, and I am able to gain access to the
> internet from both of my networks. The network hanging off eth2 is all
> made up of statics. The Wi-Fi acess point has it's own DHCP server, so
> those using Wi-Fi still get dynamic IP's.
>
> I am running a DHCP server on eth1.
>
> Now I cannot actually route between either of my local networks. This
> means that my windows boxes cannot gain access to the print server which
> is on the 100Mb side, nor can I see anything on Wi-Fi which is
> frustrating because VNC is therefore not available.
>

Is IP forwarding turned on?
echo 1 > /proc/sys/net/ipv4/ip_forward
Each of the local boxes needs to use the router as a gateway (DHCP
should take care of that).
Make sure the firewall rules allow the kinds of network traffic you
want.
I would put the print server on the same network with the clients that
use it the most.

--
Where do your SOCKS go when you lose them in th' WASHER?
 
Reply With Quote
 
prg
Guest
Posts: n/a

 
      03-03-2006, 05:09 PM

Robert Wilson wrote:
> Hello,
> I apologise if this question is a regular appearance but i need an answer.
>
> I have a SuSE 10.0 box which is acting as my router, and file server. I
> have a public IP address, which is tied to my eth0 card.


Which means your file server is exposed via the public IP. If you
leave it there, be sure to lock it down tighter than you think possible
:-)

> I also have a pair of NIC's on my local side, which are serving a pair
> of networks. One has a number of windows machines and a Windows server
> which is streaming Digital Television onto my local network which is
> made up solely of Gigabit network cards. This TV stream is UDP
> broadcast in nature, with a TTL of one.


Broadcast or multicast?

> The other network is made up of 100Mb devices, including a print server,
> and a couple of VOIP devices. Therefore because of the level of
> broadcast traffic, it swamps all of my non-gigabit enabled ethernet devices.


Broadcasts should not propagate beyond the local link. What kind of
"broadcasts" are you using? The router's link on the 100 Mb side will
also be running at 100 Mb unless you're using a GigE uplink from a
switch. What equipment lies along the pathways?

> I have managed to get a firewall up, and I am able to gain access to the
> internet from both of my networks. The network hanging off eth2 is all
> made up of statics. The Wi-Fi acess point has it's own DHCP server, so
> those using Wi-Fi still get dynamic IP's.
>
> I am running a DHCP server on eth1.


On the router or do you mean the subnet connected to eth1?

> Now I cannot actually route between either of my local networks. This
> means that my windows boxes cannot gain access to the print server which
> is on the 100Mb side, nor can I see anything on Wi-Fi which is
> frustrating because VNC is therefore not available.


Ie., you can't ping from one lan subnet to the other but can use the
router as the lans' default gateway to reach the internet.

Is the AP on the 100 Mb subnet? Just clarifying my view of your
layout.

> The output of my route -n command reads:


Presumably this is the router's route table.

> LNGBKER0001:/ # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
> 169.254.0.0 0.0.0.0 255.255.0.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 'Public IP' 0.0.0.0 UG 0 0 0 eth0
> LNGBKER0001:/ #


OK, the routes to the lan subnets are in place. They should
automagically be inserted as they are directly connected. Best to get
rid of the 169.254/16 zeroconf route. Forget just where in Suse you
turn off zeroconf.

"Public IP" should be the IP of your router's gateway, ie., it's
upstream connection to ISP's network. Since it is working, I presume
it is correct.

> My ifconfig also reads:
>
> LNGBKER0001:/ # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:14:2A:56:72:8F
> inet addr:'Public IP' Bcast:'Public IP'
> inet6 addr: fe80::214:2aff:fe56:728f/64 Scope:Link
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:80611 errors:0 dropped:0 overruns:0 frame:0
> TX packets:52448 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:88348094 (84.2 Mb) TX bytes:5597558 (5.3 Mb)
> Interrupt:177 Base address:0xe200
>
> eth1 Link encap:Ethernet HWaddr 00:06:4F:0D:74:B8
> inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
> inet6 addr: fe80::206:4fff:fe0d:74b8/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1171 errors:0 dropped:0 overruns:0 frame:0
> TX packets:1249 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:602022 (587.9 Kb) TX bytes:442495 (432.1 Kb)
> Interrupt:225 Base address:0xe900
>
> eth2 Link encap:Ethernet HWaddr 00:13:46:3A:BE:B9
> inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::213:46ff:fe3a:beb9/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:99343 errors:0 dropped:0 overruns:0 frame:0
> TX packets:148434 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:24998451 (23.8 Mb) TX bytes:151819259 (144.7 Mb)
> Interrupt:209 Base address:0x6000
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:52847 errors:0 dropped:0 overruns:0 frame:0
> TX packets:52847 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:40741096 (38.8 Mb) TX bytes:40741096 (38.8 Mb)
>
> LNGBKER0001:/ #
>


Double check that /proc/sys/net/ipv4/ip_forward is set to 1.

[root]# /proc/sys/net/ipv4/ip_forward
0 or 1 ??? Which?

You may want to use syctl and sysctl.conf to set this and several other
networking vaiables so that you can run sysctl at boot.

You can use # echo 1 > /proc/sys/net/ipv4/ip_forward and other
varialbes while initially setting/testing the variables. See:
http://ipsysctl-tutorial.frozentux.n...-tutorial.html

Depending on your firewall rules you may be allowing outgoing traffic
to internet while blocking all SYN (connection requests). This is
common to block unsolicited inbound internet connections. It may be
blocking similar requests between the lans. You should check that you
allow SYNs between the lans and to the file server on the router (?)
_without_ allowing SYNs from the internet (if that is what you want).
Yet another reason to move the file server off the firewall/gateway.

No way to help with firewall rules without seeing them. Are you using
a script? Homegrown? A firewall app? What is the output of
[root]# iptables -L -v [-n] < the -n option produces numeric output.
Use or not.

What is a "typical" route table example from a host on each of the
lans? Do you use static entries for the routes to the "other" lan?
Are your connection attempts dropped silently or so you get an error
message?

Offhand, my guess is that your firewall is blocking SYNs between the
lans.

hth,
prg

 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      03-05-2006, 07:50 PM
On Thu, 02 Mar 2006, Robert Wilson <(E-Mail Removed)> wrote:
> I have a SuSE 10.0 box which is acting as my router, and file server. I
> have a public IP address, which is tied to my eth0 card.
>
> I also have a pair of NIC's on my local side, which are serving a pair
> of networks. One has a number of windows machines and a Windows server
> which is streaming Digital Television onto my local network which is
> made up solely of Gigabit network cards. This TV stream is UDP
> broadcast in nature, with a TTL of one.
>
> The other network is made up of 100Mb devices, including a print server,
> and a couple of VOIP devices. Therefore because of the level of
> broadcast traffic, it swamps all of my non-gigabit enabled ethernet devices.
>
> I have managed to get a firewall up, and I am able to gain access to the
> internet from both of my networks. The network hanging off eth2 is all
> made up of statics. The Wi-Fi acess point has it's own DHCP server, so
> those using Wi-Fi still get dynamic IP's.
>
> I am running a DHCP server on eth1.
>
> Now I cannot actually route between either of my local networks. This
> means that my windows boxes cannot gain access to the print server which
> is on the 100Mb side, nor can I see anything on Wi-Fi which is
> frustrating because VNC is therefore not available.
>
> The output of my route -n command reads:
>
> LNGBKER0001:/ # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
> 169.254.0.0 0.0.0.0 255.255.0.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 'Public IP' 0.0.0.0 UG 0 0 0 eth0


In /etc/sysconfig/SuSEfirewall2, I assume you have FW_DEV_INT="eth1 eth2"

Near the end have you also set FW_ALLOW_CLASS_ROUTING="yes" (to allow
routing between interfaces of same class, ie, eth1 & eth2 without masq)?

Note that eth1 and eth2 will not see each other's broadcasts, so you would
likely need to configure local TCP port to print server from Win boxes on
opposite LAN, and/or WINS somewhere for Win file/printer sharing.

I am sort of doing that on SuSE 8.2 Pro w/pppoe on eth0, a /24 net on eth1
(printserver), and /29 wireless portion of eth1 on eth2 (WAP), with
proxy_arp enabled so eth1 and eth2 act as one LAN with no gateway needed
between them. I did that (instead of WAP on main LAN) to block
printserver netbios broadcasts from going wireless.
 
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
Win2003 R2 server just stops routing traffic until I restart Routing service Martijn Tonies Windows Networking 8 11-03-2008 11:05 AM
SuSE 8.2 and broadband trashman.horlicks@btinternet.com Linux Networking 1 02-13-2007 04:10 PM
I not find the NAT/Basic Firewall under Routing\IP Routing mtczx232@yahoo.com Windows Networking 2 12-16-2006 04:08 PM
Can see Suse and Window server, but can't access SuSe shares Suicyco Linux Networking 0 08-10-2004 01:49 AM
SUSE theone1 Home Networking 5 05-29-2004 06:15 PM



1 2 3 4 5 6 7 8 9 10 11