General :: Prevent An Ethernet Card From Losing Secondary IPs On Fedora 10 With Shorewall?
Sep 23, 2010
I have a Linux box being used as a firewall with Fedora 10 and shorewall 4.2.10. Secondary IPs are loaded on the WAN (eth1)card through Shorewall NAT and Rules file. The problem is that if there is a network hickup or if the circuit bounces, the primary IP comes back but I have to reload Shorewall to get the secondary ips back. Is there a way so that they can automatically reload or just not go away if the connection bounces?
View 4 Replies
ADVERTISEMENT
Feb 11, 2009
I have a very strange problem with my Linux Router/Firewall machine where i keep losing my connection on the ethernet card.
I have installed a Debian 4 distro on a PC with 2 nics to create a router/firewall machine. On nic-1 i have connected the ADSL modem and on nic-2 a laptop for testing.
What i want is to build a DMZ with public IP addresses assigned to the servers in DMZ.
Schematic example:
Code:
We have a total of 16 Public IP's assigned to the ADSL modem from our ISP configured in routering mode. Unfortunately our new ISP does not support Bridge mode, otherwise i would not have this problem. (we had modem in bridge mode working fine with our old ISP, but they have stopped so we were forced to switch to another ISP. eth1 and eth2 both have public IP addresses from the modem set hardcoded in the /etc/network/interfaces on Linux pc and on my testlaptop in the DMZ (server-1) i have set another public IP (they all fall in the same network range) I have enabled IP forwarding on Linux router/firewall and for testing the firewall is set to allow all traffic.
When i try to ping the testlaptop in my DMZ from a remote machine outside in our datacenter i get no reply.
However when i run the following command: ip addr add xx.xx.xx.xx dev eth1 to assign the public IP i have chosen for the laptop to the inner nic (eth2) and then try to ping the testlaptop again from the remote machine it still does not reply ... but (and here is the most bizar thing)...
When i then run the following command: ip addr del xx.xx.xx.xx dev eth1 (where xx.xx.xx.xx is the ip of the testlaptop) and try to ping again from the remote machine then it seems to be working fine ... however only for a short time because then connection is lost somehow.
View 7 Replies
View Related
Apr 3, 2011
I have two motherboards, MSI-6702 (64 bit single channel) and MSI-7511 (64 bit dual channel), I have two identical D-Link wireless cards and am running Kubuntu 10.10 on both systems. 7511 recognizes both wireless cards and connects to the Internet.The 6702 shows wireless grayed out on the connections page. The built-in Ethernet card has given out on both. I think I disabled it on the first system to have an Ethernet problem and wonder if I need to do it on the second. I would have tried it already but can' t remember how.
View 2 Replies
View Related
Mar 12, 2010
I have an Ubuntu 9.10 machine with three ethernet interfaces, eth0, eth1 and eth2. eth2 is connected to a private network. eth0 and eth2 are connected to two different LANs. Either one will provide access to the internet. All three networks have DHCP servers. Using Ubuntu's the default settings (And Gnome), when I boot up all the interfaces are active and my system gets three IP addresses. However any attempt to access the internet results in connection timeouts and other weirdness.
I suspect that traffic is going out on one NIC (like eth0) and coming back in on another (like eth1). I'm not sure what's going on. The only way I can access the internet at the moment is to bring two of the devices down with ifdown. How can I configure eth0 as my primary interface so all trafic goes out by default on that interface, while keeping the other two active? Also, I want to make sure Avahi broadcasts properly on all three IPs so that the computers on the LAN of eth1 can still connect to myHostname.local...
Here's my routing table:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.151.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
172.16.30.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 172.16.30.2 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.1.0.1 0.0.0.0 UG 0 0 0 eth1
I want the 172.16.30.2 network to be the primary one and the 10.1.0.0 network to be the secondary one. My nameservers are also incorrect. It seems like Ubuntu is bringing the networks up in order, eth0, then 1, then 2, and the DHCP information from eth1 is overriding eth0, and eth2 is overriding eth1. How can I reverse this so the DHCP information from eth0 is the "master"? This seems to be an issue with Gnome's NetworkManager.
View 1 Replies
View Related
Oct 28, 2015
So I'm trying to change the primary click on my touch-pad to left-handed with xmodmap -e "pointer = 3 2 1". it changed successfully, but there is one functionality I'd like changed. The touch pad itself changes to secondary too, but I want it to remain as primary.
View 0 Replies
View Related
Dec 4, 2010
Just installed Fedora 14 from the Live CD i686 on my Dell Inspiron 1521. I can't connect to the SpeedTouch 585 on either wireless broadcom card or the wired Ethernet card.
I can connect to it from the same Laptop on the Vista which is on dual boot on the same laptop.
Further confusing is that I ran Fedora 14 and connected to another SpeedTouch today.
Already checked the Channel on the wireless nic and it's on the same one as the SpeedTouch.
View 6 Replies
View Related
Mar 29, 2010
I have installed a secondary Ethernet card, rebooted, but found no eth1 interface. The output of: lspci | grep Ethernet
View 3 Replies
View Related
Feb 8, 2011
I am basically wanting to use my Ubuntu 10.10 computer as a router. Note: Before you say just get a router please note that I am poor/cheap. I have two ethernet connections and one wireless connection on my netbook. I want to share the internet connection that is going into one of the ethernet cards through the other ethernet card and the wireless card.
DSL-->1sr Eth --> 2nd Eth (currently works)
DSL-->1sr Eth --> Wireless Card (Adhoc) <--(connects with limited connectivity AKA no internet)
The 2nd Ethernet card already has working internet, but when I connect to the Wireless card (through an Adhoc network), it cannot get an IP (I believe).
View 2 Replies
View Related
Dec 10, 2010
I have installed linux on my system. I have connected two ethernet cards in the CPU. I have then connected one cord to one card from the modem. Its working fine. I have connected another cord from the second port to the switch and there by from switch to other systems. However the system is not detecting the second card. I am a newbie to linux and I don't know how to configure it.
View 3 Replies
View Related
May 31, 2011
i have newly bought Desktop system with the following configuration:
1)intel DH67vr mother board with i7 microprocessor inserted
2)1000Gb hdd
3)Dvd Drive
4)Nvidia graphics card -1Gb
i successfully installed Fedora 14 in that machine.though the mother board has inbuilt LAN port,it is not detected by fedora14.
View 4 Replies
View Related
Feb 22, 2011
I have installed fedora core 8 on my system. But i am unable to use LAN connection. here are the results of some of the commands which give error messages
[root@localhost ~]# lspci | grep -i ether
00:19.0 Ethernet controller: Intel Corporation Unknown device 10f5 (rev 03)
[root@localhost ~]# uname -a
[code]....
View 11 Replies
View Related
Jun 22, 2010
In my red hat Linux machine there was a Lan card using eth0. IP is asign to that network card and it is functioning properly. I add another ethernet card in my linux machineit was detacted and when i use the commandQuote:[root@localhost root] # ifconfig -ait show me both eth0 and eth1 lan cards.I can see Ip address in my eth1 ethernet card but When I enter into
Code:
[root@localhost root] # cd /etc/sysconfig/network-scripts
and i use ls command it only show me the file ifcfg-eth1 and with
[code]...
View 8 Replies
View Related
Sep 18, 2010
I've just installed F13 on Acer Aspire 5551G with has Broadcom BCM57780 ethernet card. And F13 does not recognize this card: in System > Administration > Network Devices tab is empty (but in Hardware tab the card is listed). So, I can't connect to the Internet
So far I've found:
1) Related bug for F11.
2) Related thread for F12.
I've tried all possible solutions mentioned in both the bug and the thread, but nothing could convince my F13 to like the ethernet card.
View 1 Replies
View Related
Jan 17, 2011
I had F14 up and running as a server working awesome. I shut it down and moved it. Now on start up, system doesn't seem to recognize my ethernet card...eth0. How to get my ethernet card back online?
View 14 Replies
View Related
Dec 7, 2008
I just installed Fedora 10 on a brand new machine with an on-board nvidia MCP73 ethernet card. Now, when I initially boot up the box after installation, the card comes up and gets a DHCP address just fine. When I go to edit the network settings (change to static) the NIC dies. I don't think I have the proper driver. Does anyone know a) where to get the driver and b) how I can install it?
[code]...
View 3 Replies
View Related
Jul 6, 2011
I have two NIC Ethernet card (eth1 and eth2) on the same computer (linux) connected by a cross cable.
The two interfaces are on the same subnet :
eth1 : 192.168.200.1 255.255.255.0
eth2 : 192.168.200.2 255.255.255.0
Then i add a route for each interface :
route add -net 192.168.200.0 netmask 255.255.255.0 eth1
route add -net 192.168.200.0 netmask 255.255.255.0 eth2
Finally,i'm trying to ping :
ping 192.168.200.1 -I eth2 or ping 192.168.200.2 -I eth1
Ping command reaches error : Destination Host Unreachable
View 2 Replies
View Related
Jun 21, 2010
I install RHEL 5.1 on my system. But my Ethernet card is not detected. I found my Ethernet card is of "ATTANSIC Technology corp L1 Gigabit Ethernet Adapter(rev b0). I already downloaded the driver. Someone tell me step by step process, how to install this driver over RHEL 5.1.
View 2 Replies
View Related
Jun 23, 2010
I want to know that in my Linux box under "Network Configuration....>Devices" i can see Device eth1 and Nickname eth0.
The ambiguity in my mind is when we want to down network interface we should call it by device name or nick name
Example
Or
Code:
View 4 Replies
View Related
Jun 14, 2010
i have installed red hat 5.1 on my dell inspiron 1525 laptop.It is not detecting any ethernet card.driver is marvel yukon 88E8040So far i found this package to be installed kmod-sk98lin-PAE-10.70.7.3-2.el5.elrepo.i686.rpm but it is showing me the dependencies problems..
View 4 Replies
View Related
Jan 21, 2010
I have a program that connects to the internet that I would like to route through one of my secondary network interfaces. I need one specific port routed to eth1 instead of eth0. I believe that I should be using iptables for that, but I don't really know how to do it.
View 14 Replies
View Related
Jun 8, 2010
I use an nVidia nforce MCP73 ethernet card on Red Hat Enterprise Linux. It is not getting detected and hence I'm unable to configure my network.
View 14 Replies
View Related
Aug 23, 2010
I have linux suse installed on VMware, my pc is running Windows XP. I have a switch connected to my ethernet card (also through console cable). When I am on windows I can ping the switch, but from linux I can't. My ethcard is "Bridged" on VMware, I can ping 127.0.0.1.
View 14 Replies
View Related
Jun 15, 2011
While installing my redhat distro in VMware 6, its giving an error message that ethernet will be disconnected.
View 1 Replies
View Related
Dec 27, 2010
I installed Ubuntu 10.04 on my sister's laptop (it's a Packard Bell; not sure about the model, but I could check); it has two graphics cards: the primary is an ATI Technologies Inc Mobility Radeon HD 3650, and the second one is an Intel Corporation Mobile 4 Series. After installation, installed the ATI driver through the restricted devices manager (xorg-driver-fglrx package, I think), and after a couple of reboots, the screen simply went black after boot and I couldn't do anything (I couldn't even switch to a virtual console, and booting on recovery mode was the same). So I booted with the ubuntu live flash drive from which I installed it, and deleted the xorg.conf file, and now I have a GUI, but it uses only the Intel card. I would like to use the ATI card if possible, but the problem is, if I use a xorg.conf file set up to use the fglrx driver, then I have a black screen, and if I use no xorg.conf file, it automatically switches to the Intel card. I also looked in the BIOS for an option to disable the Intel graphics card, but it doesn't have it (it's a very simple BIOS). So, since there seems to be a conflict between both cards, is there a way to tell xorg to ignore one graphics card? (the Intel one, in this case?).
P.S.: Here I attach two Xorg logs: Xorg.0.log is the last one (without using a xorg.conf file, and using the Intel card), and the Xorg.1.log file is the one of my previous attempts at using the ATI card.
I forgot, here is the outpput of lspci:
Code:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
[Code]....
View 7 Replies
View Related
Apr 7, 2011
there are two computer
wireless internet accessible notebook.
desktop with no wireless card (but just normal lan card).
I connect two computer with lan cable, and I want to use internet in desktop computer through the notebook's wireless lan
what kind of setting do I have to do?
desktop's OS is Ubuntu, and notebook's one are Ubuntu, Windows XP.
View 1 Replies
View Related
Jun 27, 2011
please anybody tell me how to check the availability of ethernet card in redhat 5.2 without using screw driver.
View 3 Replies
View Related
Dec 14, 2010
a machine with 2+ network cards, need to setup TFTP server on one card and use internet on another.
the tftpd server works on default routing network adaptor with following configuration.
How set the TFTP server on the secondary network adaptor?
TFTP server tftpd by xinetd configuration in: /etc/xinetd.d/tftp
{
protocol = udp
port = 69
socket_type = dgram
[Code]....
Could not find how to change the post <prefix> I remembered clearly I did before.
View 1 Replies
View Related
May 10, 2011
First I will give some background. We have a currently working network that the Previous network Admin assigned an internal IP scheme of 200.1.1.0/24. I have no idea why he would have done such a thing, but it is my job to fix it (and keep our systems up and running). We have a Fedora 10 box on the 200 network that is acting as a router and a firewall (shorewall to be exact).
I added another NIC card (thank you again to all the great people on this forum for helping me get that working) and it is eth2. Assigned it a 10.100.1.A/24 (This is just a variable for the real IP). The other end of the cable that I plugged into that NIC connects to a Cisco Layer 3 switch. I assigned the port that connects to the other end of the cable the IP address of 10.100.1.B/24
Ok, I added the static route of ˜ip route add 10.100.1.0/24 via 10.100.1.A dev eth2' I added loc2 (which is my eth2 adapter) to the /etc/shorewall/zones file. I set eth2 on loc2 in the /etc/shorewall/interfaces file. loc2 eth2 detect I set the lines in the /etc/shorewall/policies file loc loc2 ACCEPT info loc2 loc ACCEPT info I can ping the cisco switch from the linux server itself. From a PC on the original network I can ping the new NIC card in the linux server, but cannot ping the cisco switch, so I figure it has to be either the route or shorewall.
View 13 Replies
View Related
Aug 6, 2010
- I have setup an application in my local subnet 10.1.0.0/16 which broadcast udp packet.
- My application broadcast from machine with 10.1.2.240 and also broadcast from multicast address 225.1.2.3 using port 3035 (it's the correct multicast address right ?)
- I have develop small application to receive the udp packet from the multicast address. It's running OK.
Problems/question :
How can i setup my firewall (using shorewall) so that user from internet can receive the udp packet from multicast ?
Is it possible to listen udp broadcast address behind the firewall (without setting up vpn connection) ?
View 3 Replies
View Related
Jan 10, 2011
Is there a way to avoid changing the wallpaper/Desktop background other the onces which come as default on fedora?
View 1 Replies
View Related