Ubuntu Networking :: Bind Program To Network Interface?
Jun 17, 2011Is there any way in a machine with 2 (or more) network devices to only allow 1 program to use interface1 and force all other programs to use the other?
View 4 RepliesIs there any way in a machine with 2 (or more) network devices to only allow 1 program to use interface1 and force all other programs to use the other?
View 4 RepliesI 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?
I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.
View 1 Replies View Relatedcan't seem to get sshd to bind on a remote interface.When I attempt to connect, I get an instant "unable to connect to host."
Code:
$ cat sshd_config
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
[Code]...
Is there a way to make a program use a specific network interface ? When using my laptop at work i may be physicaly connected to multiple networks. i was wondering if i can make sure that certain applications use a specific network interface. I would google around for the answer but i cant figure out how to phrase it correctly for a search.
View 2 Replies View RelatedI am looking for network backup software with GUI frontend, that can take backup of linux and windows as well.
View 3 Replies View RelatedI have a ppp0 entry with post-up options like this
mapping ppp0
map none photon-plus motorola
map timeout: 12
[code]...
Suppose I have both a hardwired and a wireless network connection active on the same system at the same time. Can I tell my browser which one to use? Can I tell other programs which one to use? Or do they choose for themselves> Or does some automatic system protocol select which one to use for them?
View 5 Replies View RelatedI am totally new to Linux and have just installed ubuntu 10.10. After configuring the network interface via dhcp I started getting these messages that come in so frequently I can't configure anything else.
[87.186415] Stack:
Why I am getting this messages and more importantly how do I get rid of them.
The installation is on a VM on Hyper-V.
today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:
Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15.
Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.
How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?
I need to use some PCs located on my university from home through the internet. I am using a program called Teamviewer [URL]... The problem is that this program transmits the whole graphical interface, which is slow, but I just need to use the command line with these computers. I am aware of ssh, but my university won't give me access to theses computers over the internet.
View 9 Replies View RelatedIs is possible, via iptables or something similar, to bind a service running on a specific port to a specific interface? My case: I use a VPN service for privacy. I would like to have all traffic except ftp and ssh to run over tun0. Ports 21 and 22 will need to be accessible to the outside world (eth0) while the VPN is running.
View 3 Replies View RelatedI am having a problem with when I bind a static IP to my NIC I loose all network connectivity but, if i leave it set to dhcp it works fine. I've gone over all my settings a thousand times and they are all correct. Has anyone else had this problem or give me a hint as to what the problem might be?
View 2 Replies View RelatedConsider the following program:
Code:
#include <stdio.h>
#include <stdint.h>
[code]...
I'm having all sorts of problems connecting an access point to my computer, but here is one piece that I hope will get me going, if I can get it solved.My computer has two network interfaces, eth0 and eth1. eth1 connects to the cable modem and thence the world, and works fine. eth0 is supposed to connect to the access point over a private network. Here is the output from route with my IP address blotted out:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[code]...
If I have set up 2 network interfaces on a box, if I started sending multicast traffic, it will go out through both interfaces? Or is there a way to control through which interface it will go out?
View 1 Replies View RelatedShowing my ignorance, but why would this work
address 172.16.1.8
netmask 255.255.254.0
network 172.16.1.0
broadcast 172.16.2.255
[Code]....
Notice the 2 in address. Seems to me it doesn't like the network and wants it to be 172.16.0.0, but I am adding to a network already configured this way.
I am trying to get my ethernet adapter list to make some sense. This is what ifconfig spits out
Code:
agarzon@euler:~$ ifconfig
eth3 Link encap:Ethernet HWaddr b8:ac:6f:3b:f4:4f
[code]....
I'm having trouble with binding priority to certain program. I know how to use nice to start a program, how to use renice to change the priority of a running program, but how can I bind a priority to certain executable so that it always start at selected priority?
I can write a script to probe the process and renice it, but this doesn't seem to be efficient.
My old /etc/network/interfaces isn't working in 9.10. I've used it from 8.04 to 9.04 without issues.
I need to make multiple configuration per interface:
Code:
auto lo
iface lo inet loopback
auto lo:1
[Code].....
If not how can I downgrade the program responsible for reading this file?
running 9.10 server, have SSH access through LAN, but I'd like to move box out of my neighbor's (shared internet & the router's in his place) and into my own space. Would have done so already, but I can't get the wireless working. Details below:lshw -C network gives:
Code:
*-network:0 DISABLED
description: Wireless interface
[code]....
How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection? I have looked into forcebindip but it crashes on wine.
View 1 Replies View RelatedI am a big ubuntu fan (9.04) installed,everything went well, installed my network card(s) & the onboard without no problems/installation disc.I have 2 Network interface(s) that I used on windows xP to 'bridge' my connection, because I only have one slot on my router, and the last slot runs into my computer room and from the PC, I run it to the xbox/ps3.No matter what I do, I cannot get ubuntu to share connection
to my other network interface.
My /etc/hostname is not announced on the local network (not showing up on my Mac nor router) when setting /etc/network/interfaces to:
Code:
iface eth0 inet static
address10.0.0.10
netmask255.255.255.0
gateway10.0.0.1
I have tried bringing the interface up and down, and have also rebooted. If I change it to DHCP it will display, but this does not really help me.
How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection?I have looked into forcebindip but it crashes on wine .
View 5 Replies View RelatedI'm running Ubuntu 11.04 and I've been unable to access any type of Internet service besides web browsing. When I check on Network Tools, it's always set on Loopback Interface, regardless of whether I've just switched it to Ethernet Interface. I haven't been able to download system updates through Update Manager. I'm not very experienced with Ubuntu.
View 9 Replies View RelatedI have two simultaneous active mobile connections through my two mobile phones and USB data cables. Yet I can only send/receive with one connection.Each of the phone modems have a node in /dev, namely ttyACM0 and ttyACM0. So the modems are detected correctly.After setting up two dial-up connections with the two modems I have two ip's. Ifconfig-a confirms this:
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.10.219.60 P-t-P:10.6.6.6 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
[code]....
I would like be able to access packets coming off the network with the hopes of coding a primitive packet sniffer for learning purposes. I would also like to be able to piece together my own packets and send them out on my network. Eventually, I would also like to write a simple firewall so I want the capability to drop packets as well as let them pass. I assume I will have to access the kernel with some system calls to do this, any one have any information or resources that could help me on this project?
View 1 Replies View RelatedHow to figure out why there are errors on bond0(eth0)
Transfer speed is in KB
Network manager doesn't recognize nas0 interface and i have problems with using Gwibber, Evolution mail,Empathy, etc Is there any way to add nas0 in Network manager?? I know the solution to remove Network manager, but i need Network manager because i'm often using wireless (as second internet connection).
View 1 Replies View Related