<div><div><br>
Reply below: <br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Date: Sat, 28 Jan 2006 07:03:23 +0000<br>From: Mark <<a href="mailto:mark@lumison.net">
mark@lumison.net</a>><br>Subject: FC 4 Networking bridge<br>To: For users of Fedora Core releases <<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a>><br>Message-ID: <<a href="mailto:43DB173B.3030700@lumison.net">
43DB173B.3030700@lumison.net</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Hi all<br><br>Perhaps I am being a lil dim here as a new linux sysadmin personage<br>(previous preference was for windows, emphasis on "was")
<br><br>For some reason I have not been able to get a working network along the<br>following lines.<br><br>NOTE this network is purely for systems testing, bandwidth etc, hence<br>the daisy chain effect.<br><br>I have 2 servers, both running FC4 and a cisco router.
<br><br>The aim is to test throughput from one server to the other via the cisco.<br><br>My proposed solution is as follows:<br>Both servers have 2 gigE nics<br>Cisco has 2 interfaces which I have named ciscoLan and ciscoWan
<br><br>Basically I want server 1 with eth0 connected to my DMZ network (and the<br>world at large) witha  public IP address<br>I then want to configure eth1 with another public IP to connect directly<br>to the ciscoWan<br>
<br>I already have the cisco connected via ciscoLan to server 2 using NAT<br>and private IPs but I cannot get eth1 on server 1 to come up with the IP<br>address I need and then talk to the cisco.<br><br>I think the issue may be that I need to enable bridging of sorts between
<br>the 2 NICs, as MS does with ICS etc.<br><br>So the question is, how do I acheive that?<br><br>As far as I can tell, I have all the interfaces configured correctly.<br><br>I can`t give the actual IPs here, but I will give an example:
<br>All Xs give the same subnet<br><br>Server 1<br>/etc/sysconfig/network<br>NETWORKING=yes<br>HOSTNAME=<a href="http://test-server-01.domain.net">test-server-01.domain.net</a><br>GATEWAY=X.X.X.33<br><br>/etc/sysconfig/network-scripts/ifcfg-eth0
<br>DEVICE=eth0<br>BOOTPROTO=none<br>HWADDR=00:14:22:22:04:1A<br>ONBOOT=yes<br>TYPE=Ethernet<br>IPADDR=X.X.X.41<br>NETMASK=<a href="http://255.255.255.224">255.255.255.224</a><br>GATEWAY=X.X.X.33<br><br>/etc/sysconfig/network-scripts/ifcfg-eth1
<br>DEVICE=eth1<br>HWADDR=00:14:22:22:04:1A<br>ONBOOT=yes<br>TYPE=Ethernet<br>NETMASK=<a href="http://255.255.255.224">255.255.255.224</a><br>IPADDR=X.X.X.42<br>GATEWAY=<a href="http://217.30.126.33">217.30.126.33</a>  <- is this a problem????
<br><br>Have I really missed something and thats why this server can`t talk to<br>my cisco on eth1?  By the way, the cisco has an IP of X.X.X.62<br><br>I am trying to have both eth0 and eth1 having IPs only 1 apart and the
<br>gateway for eth1 is set to the same as eth0.  Is this adding to the<br>problems?<br><br>I can solve it fairly easily by installing windows on server 1 and<br>configure ICS etc, but I would rather avoid that for 2 reasons:
<br>- having FC4 on the server is beneficial for us after this roject<br>- I don`t want to give in to this problem, I would rather solve it.<br><br>Thanks in advnace.<br><br>Mark<br>--<br></blockquote></div>Hi Mark,<br>
<br>
Not a real expert here but I think iptables is where you need to look.  Do a:<br>
<br>
man iptables<br>
<br>
also you might look into <a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialiptablesNetworkGateway.html">www.yolinux.com/TUTORIALS/LinuxTutorialiptablesNetworkGateway.html</a><br>
<br>
Have fun!<br>
<br>
Tod<br>
<br>
<br>