Networking :: Multiple IP Interface Creation With Down Status
Mar 4, 2010
I have to implement hardware redundancy.I have 2 linux machine for this and each have similar configuration/hardware. Lets say two machine Linux1 and Linux2. Currently Linux1 have one NIC and it has 4 IP address bind on it. Now I have to down the Linux1 and up Linux2 with same Ip addresses.
Could it possible to configure all the Ip (same)address on both Linux1 and Linux2 and Linux1 have eth:x status UP while Linux2 have eth:y status down.
I am trying it but on Linux2 machine I cant able to create multiple Ip interfaces with down status.
View 3 Replies
ADVERTISEMENT
May 27, 2010
I have 4 DSL modems connected with 4 different ISP's my scenario is
a) My FC-2 machine with LAN IP=192.168.10.1 and Bond0 IP=192.168.1.1
b) Modem-A LAN IP= 192.168.1.2 , ext IP=xxx.xxx.xxx.xxx
c) Modem-B LAN IP=192.168.1.3, ext IP=xxx.xxx.xxx.xxx
d) Modem-C LAN IP=192.168.1.4, ext IP=xxx.xxx.xxx.xxx
e) Modem-D LAN IP=192.168.1.5, ext IP=xxx.xxx.xxx.xxx
Modem-A, B, C, and D LAN connected with my FC-2 machine, and all 4 interfaces of my machine are in Bond0, Now please help me what default Gateway I should set in my FC-2 machine?>??? or I have to set 4 gateways in my machine?and will this configuration works?
View 1 Replies
View Related
Feb 8, 2010
I have two NIC cards installed, they both go to seperate networks. Occassionally I am not able to establish a connection via eth1. When looking at tcpdump traces I see that Linux is using eth0 hardware port and putting eth1's IP address in the packet to reply to the connection request. When the connections work its when Linux uses eth1's port.
View 3 Replies
View Related
Sep 15, 2010
I want to do a video streaming to a remote PC across the internet. The video bitrate is around 600 kbps. But my internet connection supports only a maximum upload bandwidth of 400 kbps.So I thought I will get one more connection and use the combined upload b/w of 800 kbps to stream the video. I hope there should be a way to split the stream across two interface and merge them together at the remote endpoint. All this has to be done at real time.
View 1 Replies
View Related
Mar 4, 2010
I have to implement hardware redundancy.I have 2 linux machine for this and each have similar configuration/hardware. Lets say two machine Linux1 and Linux2. Currenty Linux1 have one NIC and it has 4 Ip address bind on it. Now I have to down the Linux1 and up Linux2 with same Ip addresses. Could it possible to configure all the Ip (same)address on both Linux1 and Linux2 and Linux1 have eth status UP while Linux2 have eth:y status down. I am trying it but on Linux2 machine I cant able to create multiple Ip interfaces with down status.
View 4 Replies
View Related
Jun 2, 2010
I have a strange problem regarding networking on the Alix 2d13 running Ubuntu 10.04. The Alix has 3 physical network interfaces, lspci says:
Code:
00:09.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96)
Kernel driver in use: via-rhine
Kernel modules: via-rhine
00:0a.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96)
Kernel driver in use: via-rhine
Kernel modules: via-rhine
[Code]...
It seems, if more than one cable is connected, a random hardware port is chosen as eth0-eth2. If only one cable is connected the port that is connected is chosen as eth0-eth2. Any idea what's going wrong here?
View 2 Replies
View Related
Dec 11, 2010
I am looking for a program with a web interface to show my servers hardware status. hdd usage, cpu load, memory etc.
View 9 Replies
View Related
Jan 30, 2011
I am looking for a program with a web interface to show my servers hardware status. hdd usage, cpu load, memory etc.
View 2 Replies
View Related
Nov 17, 2010
I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.
View 1 Replies
View Related
Feb 14, 2010
I just had an ATT Uverse RG installed. However my Smoothwall router that previously worked fine with the ADSL SpeedStream is no longer accepting an address assignment DHCP ip address from this new gateway. (3800HGV-B)Any thoughts ideas or experience working with this hardware? ATT only supports Windows and Mac
View 2 Replies
View Related
Jul 18, 2011
I have a ppp0 entry with post-up options like this
mapping ppp0
map none photon-plus motorola
map timeout: 12
[code]...
View 8 Replies
View Related
Nov 16, 2010
I need to show an output of the command "show interface status" executed on a server side in new window on client side. In other words: on client side web browser page I would like to have a link which I can click and get output of command "show interface ... status" in a new window. On web server script has to connect to switch/router, execute this command and send output to client window.
where to look, and, may be explain, what can be better for this purpose? I need a clue, because I have newer done it before. It should not be snmp, because I want to view many different outputs and snmp wont help me.
View 2 Replies
View Related
Dec 27, 2015
I'm renting a server which comes with 5 IP addresses, but only one network device. From what I can understand I'm able to create aliases by adding entries to /etc/networks/interfaces, I haven't tried I'm in the planning stages. Hypothetically, 192.168.22.30 is my primary IP and I want to set eth0:1 to have 192.168.22.31, and then after that I want to create a virtual machine (using kvm/qemu) that is able to communicate bidirectionally to the internet over eth0:1, and leave eth0 strictly for administrating (not for VM traffic).
The qemu guides I'm finding seem to assume that I want to use TAP or VDE, what I want to use is a sub-ip/alias. One guide I saw had me eliminate everything from eth0 and put it under br0. That would leave me unable to ssh into my server (and unable to administrate). Is there a way I can do something along the lines of: qemu [options] -net [option] -netdev=eth0:1 ?
View 1 Replies
View Related
Apr 6, 2011
My setup is as follows,
Machine-1
- Two network interface cards on same network with different MAC say MAC-1 and MAC-2
- IP 10.209.193.130 and 10.209.193.131
- Firewall IP tables empty iptables -F
Machine-2
- One NIC with IP 10.209.193.135
switch
- both machines are connected to common switch and can ping happily.
Problem:
when I send ping request from Machine-2 to Machine-1 arp tables are initialized for IP MAC pair. Surprisingly both IP are get resolved to one MAC i.e MAC-1. general observation is, MAC of first interface which has route in kernel route table. I cross checked this on Suse11 and RHEL5 same result. but In suse10 I am getting expected behavior [i.e IP1-MAC1 and IP2-MAC2 pair in arp cache]. Do any one know why kernel is using same NIC for two different interfaces?
Output for Suse11 and RHEL 5
Code: ? (10.209.193.131) at 00:0c:29:34:e7:6f [ether] on eth3
? (10.209.193.130) at 00:0c:29:34:e7:6f [ether] on eth3 Output for Suse10
Code: ? (10.209.193.128) at 00:0c:29:02:9a:7c [ether] on eth3 <-------- Suse 10 machine-1
? (10.209.193.131) at 00:0c:29:34:e7:6f [ether] on eth3
? (10.209.193.127) at 00:0c:29:02:9a:72 [ether] on eth3 <-------- Suse 10 machine-2
? (10.209.192.1) at 00:00:0c:07:ac:07 [ether] on eth3
View 6 Replies
View Related
Jan 11, 2010
I am curious of how to make a GUI interface that uses multiple programs and commands. I have found wxwidgets as the most likely candidate for making my own interface.Is this the best programming language for a beginner?
View 3 Replies
View Related
Apr 4, 2016
I am having some troubles using iptable rules on two Servers that act as Gateways pointed to one backend server with only one interface.
To be more exact, i have 3 Servers, 2 of those have a public and a private interface, with different public ips but common private interface ( they connect to the same switch ), the last one only has 1 private interface and is connected to that same switch.
Those 2 servers also act as a gateway and a firewall for the private network.
My problem is that i cannot seem able to route traffic from both of those to the third one and back to the same public ip that the request came from ( effectivly using two gateways on the machine with only one interface ).
As a testing scenario i am using ferm for applying iptable rules that forward ssh traffic ( for example ) to the backend server, and it works well when i do it with one gateway.
When i apply something like this in /etc/network/interfaces on the backend server though:
Code: Select allauto eth0:0 eth0:1
# The primary network interface
allow-hotplug eth0
iface eth0:1 inet static
address 192.168.9X.XXX
netmask 255.255.255.0
broadcast 192.168.9X.255
network 192.168.9X.0
[Code] ....
Even though forcing selection of an interface from the backend server ( like curl --interface ) seems to work well, meaning that the request to the curl appear to happen from the correct public ip, i can still only use one of the public ips to access the server with the ferm rules. Ideally i should be able to ssh to the backend server from both public ips using their ferm rules for forwarding traffic to the backend server.
I feel like i am missing some details on routing that should happen on the firewalls as the backend server seems to be able to use both gateways to access the internet and receive replies from it.
View 2 Replies
View Related
Jul 23, 2015
I want to configure multiple virtual ethernet interfaces over a single physical ethernet interface (eth0) and for each virtual interface the MAC address must be unique and the IP address must be Static.Finally all the virtual interfaces must be able to communicate both internally and externally and the traffic should be captured using wireshark.
I need to have such kind of setup to communicate devices individually using one physical ethernet device.
Because I was fiddling with few kernel modules like MACVLAN and MACVTAP and successfully enabled those modules and rebuild kernel. Using macvlan and macvtap I can configure virtual interfaces with unique mac address and static IPs but while capturing packets using wireshark interfaces behave weirdly.
For example say on HOST machine I have 1 physical interface and created 3 virtual interfaces as shown below.
Interfaces :
eth0 (physical ethernet interface)
IP: 192.168.A.A
MAC: aa:aa:aa:aa:aa:aa
[Code] ....
First from above interfaces I started pinging eth0 internally from host machine in which it worked as usually.
Second I did same externally from other machine which is connected to the same network of Host machine, and this did work as usually.
Third I pinged first virtual interface veth0 both internally and externally and this also works and after that I did check source and destination MAC address using wireshark tool-where both showed up there respective MAC address.
Now triggers the issue, where I pinged second virtual interface same like I did for first one, but this time ping was success and where as in wireshark tool the MAC address for veth0 is picked by veth1. This is where I got stuck and this issue happened for all the remaining virtual interfaces.
I couldn't see any virtual interface showing their respective MAC address, as of the remaining except the first virtual interface has been picking the first veth0 mac address.
View 5 Replies
View Related
Feb 22, 2011
I am using D-Link wireless dongle on my fedora 11 machine.with commands i want to create and activate(up) an ad-hoc network.
View 5 Replies
View Related
Jul 5, 2010
I have just upgraded to Lucid on Ubuntu. I am a long time Pidgin user. I tried using Empathy with Gwibber, but I can't get Gwibber to update my IM status(es) in Empathy, so I want to go back to using Pidgin. (Additionally, I can't get Skype to work with Empathy.)I installed pidgin-microblog and pidgin-mbpurple, and they allow me to view my Twitter feed in Pidgin and update my Twitter status in Pidgin. However, in Karmic, I was also able to specify certain "status availabilities" (one named "Twitter-Available" and one named "Twitter-Away", for instance) to have the IM status message for these statuses become populated with my Twitter feed. This capability seems missing in pidgin-mbpurple in Lucid (and it seems to be the only thing missing from Karmic).
Is there a way to have pidgin-mbpurple update certain "status availabilities" in Lucid (and I'm just missing something) or is this no longer possible?Equivalently, is it possible to have Gwibber update my status message in Empathy? (I just want to be able to update my status once on one of my three computers - and have it propagate to all my other accounts (IM and social networking) and computers).
View 1 Replies
View Related
Jan 25, 2011
I am trying to design an application which violates the DHCP. Specifically the difficulty in writing this application is physically sending the raw packet. I need some documentation on either a library that supports this or where to look for support for raw packet creation. I am not trying to create a raw datagram, that doesn't meet my needs because a raw datagram is still at layer 3 I need to craft a raw layer 2 PDU.
Specifically I want to
Send a very specific DHCPDISCOVER
Receive a DHCPOFFER
and pull apart the offer while never sending a DHCPREQUEST.
Specifically I am pulling apart various options that are sent in the DHCPOFFER. I have a raw DHCPDISCOVER already crafted and the formatted struct sockaddr_ll where I fault is I can't send the damn thing. Getting the file descriptor after calling socket is okay but what now? How would I write to that file descriptor and have it transmit?
Code:
int connfd;
struct sockaddr_ll bcast;
bcast.sll_family = PF_PACKET;
...
connfd = socket(PF_PACKET,SOCK_RAW,0);
//now what
View 1 Replies
View Related
Aug 2, 2011
Every time my wifi auto connects it gives me a strange message:
At the same time it makes a new network entry, overlapping the one previous:
It's usually a battle with the wifi and my re enabling the correct setting over and over and over again. Is there a fix for either the mysterious lack of selection in the first message, or a way to force it to use the correct one without making another?
View 2 Replies
View Related
May 20, 2010
I have an old pentium 3 computer that has ~7 NICs installed. These NICs are attached to modems and other networking equipment. According to the linux ping page on computerhope.com, it seems that one could send a ping from a certain specified NIC. How would one go about this?
View 6 Replies
View Related
Jun 16, 2009
I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:
[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2
but end up with the error:
RTNETLINK answers: Network is unreachable
[root@testsan sysconfig]# cat network
NETWORKING=yes
NETWORKING_IPV6=no[code].....
View 5 Replies
View Related
Jun 15, 2011
I'm new to the linux networking. Can anyone please explain me how I can get the status of the printer which is connected to a network.
View 3 Replies
View Related
Mar 16, 2011
After a fresh installation of Ubuntu 10.10 I uninstalled empathy (im using skype). The empathy menu in the evolution indicator was gone after that.I also uninstalled gwibber. But the gwibber status indicator remains within the about-me panel... Uninstalling the gwibber package also removes the me-menu which I want to keep actually. Especially the shutdown/restart... part of it. See attachment.I know there is a shutdown panel-app...but its butt-ugly and it doesnt allow to logon/off.
In another thread I read that the gwibber status shouldnt be there if no account for it is configured... which it is not... I do use ubuntu-one though which is in the same menu... I saw that this issue was addressed at some bug report before, but not fixed yet...
Does anybody know a good workaround to get rid of the gwibber status in the panel while keeping the about me and the shutdown button?
View 3 Replies
View Related
Nov 15, 2010
I can print very well over a USB cable, however I'm having trouble printing over the Internet (F13). The errors that I get are:
job-printer-state-message Unable to get printer status (Not Implemented!)
job-printer-state-reasons [u'none']
Printer status usually shows up as OK until I actually start to print and then I end up with an error message and nothing prints. This seems to show up with any type of printer connected to the internet.
View 1 Replies
View Related
May 1, 2010
I'm having a problem accessing a network share in windows 7 from Ubuntu 9.10. I can access this share from a Vista computer on the network, but not from Ubuntu. Windows 7 can also connect fine to my Ubuntu Samba shares. I get the following error when trying to connect with SMBclient.
Code:
smbclient -L KRONOS
Domain=[KRONOS] OS=[Windows 7 Ultimate 7600] Server=[Windows 7 Ultimate 6.1]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_NOT_SUPPORTED
Domain=[KRONOS] OS=[Windows 7 Ultimate 7600] Server=[Windows 7 Ultimate 6.1]
Server Comment
--------- -------
Workgroup Master
--------- -------
View 1 Replies
View Related
Apr 13, 2011
How to identify the status of the ethernet interafces? on my machine, every interface shows "UP" nn matter the interface is connected or not:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
View 4 Replies
View Related
Mar 3, 2009
I'm new to Fedora 10 and still a newbie with Linux in general. I installed F10 on an old PC I had....and the install went well..however, I'm having Internet Connectivity issues.
Here is what I did so far:
Did an ifconfig command and I have the following:
pan0 Link encap: Ethernet HWaddr D2:30:36:AF:61:95
inet6 addr: fe80::d030:36ff:feaf:6195/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes: 0 (0.0 b) Tx bytes: 8676 (8.4 KiB)
When I go to the Network Configuration Panel I see the following:
Status: Device: Nickname: Type:
Inactive pan0 pan0 Ethernet
Tried to activate and it states Activating network device pan0, please wait... determining IP information for pan0.... A few minutes pass by then. It indicates it failed. Cannot activate network device pan0! I have disabled the Controlled by NetworkManger and enabled the Activate device when computer starts.
View 14 Replies
View Related
Jan 9, 2010
I have openvpn server configured with bridged interface on my openwrt router. The client is running ubuntu 9.10 with config:
Client
dev tap
proto udp
remote x.x.x.x 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /home/blwegrzyn/openvpn/ca.crt
cert /home/blwegrzyn/openvpn/client1.crt
key /home/blwegrzyn/openvpn/client1.key
comp-lzo
verb 5
(x.x.x.x was hidden)
When the client connects the log says:
WRRRWRSat Jan 9 20:16:03 2010 us=332404 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway,dhcp-option DNS 192.168.1.241,route-gateway 192.168.1.254,ping 10,ping-restart 120' .....
Sat Jan 9 20:16:03 2010 us=343906 ERROR: Linux route add command failed: external program exited with error status: 7
The server is trying to push default gateway 192.168.1.254 to the client and the client is on 192.168.2.0 network as you can see the route addition fails with SIOCADDRT: No such process. This is because the tap interface does not have any ip and the route addition is not possible. The tap interface is not getting the dhcp address through the tunnel, not sure why (this works on XP). To fix the problem I must manually add the ip to the tap interface, and the default gateway, but then i must add dhcp server to resolv.conf to make it work and once I disconnect the computer does not know the old valid dhcp anymore and cannot communicate. Why openvpn cannot get the ip automatically? Why it cannot grab the dhcp from the tunnel? Is it related to the wireless card being managed by the network manager? This works perfect on windows machine (xp sp3).
View 3 Replies
View Related