Ubuntu Networking :: Forcing An Application To Use Specific Network Interface?
Apr 8, 2011
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
ADVERTISEMENT
Apr 19, 2010
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 Related
Mar 23, 2010
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 Related
Feb 26, 2011
suppose I have multiple interfaces installed on my machine. The question is how to specify which interface to use while starting a web-browser.What I would like to make possible is something like:Code:browser_name interface addressif it is possible in for any web-browser or via scripts please advise me accordingly.
View 7 Replies
View Related
Mar 5, 2010
Is there a way to force a domain to resolve to a specific IP using .htaccess?
View 1 Replies
View Related
Oct 5, 2010
My co-workers and I are trying to develop a USB device, which uses an FTDI chip as a USB-serial controller. The thing is, we would ideally like to set a custom idVendor and idProduct on the FTDI chip. The problem occurs that when we set custom idVendor and idProduct values, udev(7) loads the "usb" driver. If we leave the idVendor and idProduct values to their originals, udev(7) loads the "ftdi_sio" driver. The whole reason for the custom idVendor and idProduct values is so that I can (hopefully) write a udev(7) rule to map that particular device to a specific entry in /dev. Is there a way to write a udev(7) rule so that you can forcefully load a particular driver for a device? Is there something else that could be done to get a similar result?
View 2 Replies
View Related
Apr 18, 2009
I have an Asterisk-server with 2 interfaces, a WAN-interface (eth1) and a LAN-interface (eth0).
SETUP : IAX-provider(internet) --> firewall --> Asterisk-server --> switch --> clients_on_LAN
So everything coming from the IAX-provider on port 4569 is forwarded to the Asterisk-server's WAN-interface (eth1). This needs then be routed to an internal SIP-phone (an IVR-system will define which one) via eth0. When a call is initiated from an internal SIP-phone (they register to the IP-address assigned to eth0) it needs to be routed via eth1 to the gateway (192.168.4.250). Asterisk will setup an IAX-channel on WAN-interface (eth1) to the IAX-provider (via gateway). So... will this work :
Code:
route add -net ip_IAXprovider netmask 255.255.255.0 gw 192.168.4.250 dev eth1
Code:
route add -net 192.168.4.0 netmask 255.255.255.0 dev eth0 (no gateway needed for the LAN-interface, communications to the gateway need to go via the WAN-interface !)
View 4 Replies
View Related
May 26, 2011
When I run OpenVPN server - tap0 adapter, it breakes Teredo(Miredo) IPv6 address down. I dont need IPv6 on OpenVPN, so is there any way to disable IPv6 on tap0 completely?
View 2 Replies
View Related
Aug 6, 2011
As part of my job, I have to configure a lot of network devices that are configured through web pages. This generally means plugging in to them via ethernet, going to their default IP address and reconfiguring them. I set my IP address using ifconfig, which is much faster than plugging numbers in to networkmanager's GUI. The problem is, NetworkManager seems to take the interface down at random.I could disable NetworkManager but then I don't have a wireless connection.Is there a way to tell NetworkManager to temporarily ignore what is happening on a specific interface or should I just ditch NM altogether when doing this kind of work and use wpa_supplicant to get on my wireless?My co-worker with the Windows machine is looking over my shoulder and chuckling
View 2 Replies
View Related
Apr 19, 2009
I have an Asterisk-server with 2 interfaces, a WAN-interface (eth1) and a LAN-interface (eth0).
SETUP :
IAX-provider(internet) --> firewall --> Asterisk-server --> switch --> clients_on_LAN
So everything coming from the IAX-provider on port 4569 is forwarded to the Asterisk-server's WAN-interface (eth1).
This needs then be routed to an internal SIP-phone (an IVR-system will define which one) via eth0.
When a call is initiated from an internal SIP-phone (they register to the IP-address assigned to eth0) it needs to be routed via eth1 to the gateway (192.168.4.250). Asterisk will setup an IAX-channel on WAN-interface (eth1) to the IAX-provider (via gateway).
So... will this work :
route add -net ip_IAXprovider netmask 255.255.255.0 gw 192.168.4.250 dev eth1
View 9 Replies
View Related
Mar 28, 2011
im trying to ping from a specific interface, I have a wired and a wireless connection both going into my laptop.
My wired adaptor eth0 is on the ip 172.16.109.75 my wifi adaptor wlan0 is on the ip 192.168.1.69
when I ping google with my eth0 unplugged with the following command
Code:
conneco@mcr-pc-29334:~$ ping -I wlan0 www.google.co.uk
PING www.l.google.com (74.125.230.115) from 192.168.1.69 wlan0: 56(84) bytes of data.
64 bytes from 74.125.230.115: icmp_seq=1 ttl=51 time=32.7 ms
[Code].....
View 1 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
Aug 12, 2010
I'm hoping some of the Linux network experts can help me with this problem.
Situation: I have a technology which is a WebLogic JEE application that communicates to an Oracle database. Everything is installed in a single Linux virtual machine running in VirtualBox. Traffic from the JEE application goes via JDBC over TCP to the local running database. What I want to do is test a new database firewall server that wants all traffic destined for the database to flow via another virtual machine running the DB Firewall software.So therefore want I need to do is have DB traffic forced out over one interface only to return on another interface on the same VM listening on a different address.
JEE application running in WebLogic bound to 192.168.111.12 (eth1 a VirtualBox hostonly interface). Makes a request for 10.0.111.12 (eth2 a VirtualBox internal interface) which the database is listening on. Because both IPs are on local interfaces, Linux is going to handle the traffic and not route the 10.x traffic via the 192.x interface.I also have running the database firewall server which has a bridge (br0) between the HostOnly network and the Internal network.Both systems are running Oracle Enterprise Linux R5U4, which is basically the same as RedHat.What I want to do is have the request for 10.0.111.12 forced out via 192.168.111.12, bridged over the br0 connection and back into 10.0.111.12 and to the database. My networking knowledge is pretty good, but i'm stuck right now on the right way to do this. I'm pretty sure it is possible, I just need clear advice.
Reason for setup: Ideally I would build the system with the database on a separate machine so that I can easily route the traffic. Unfortunately we have many VirtualBox based demonstration systems with both the application and database installed on the same VM and therefore the amount of work to migrate these two dual VMs is going to be significant, also many of these VMs are demonstrated from laptops which have limited resources and creating a new database VM reduces overall performance. If I can create a way to force the traffic in this manner off and back onto the same VM via the other VM bridge, it would be fantastic.
View 7 Replies
View Related
Aug 21, 2010
I have a linux router with 2 physical ISPs and a VPN tunnel that all my traffic passes through. I would like to setup a rule to redirect all traffic from one internal IP address (10.0.0.x) through the physical link only. My current script is as follows.
iptables -F
iptables -X
echo 1 > /proc/sys/net/ipv4/ip_forward
[code]....
My goal is to do something similar to the mangle on the tor traffic, but for an entire host.
View 2 Replies
View Related
Feb 17, 2010
application to monitor application wise network usage?
View 3 Replies
View Related
Mar 24, 2010
I currently have two internet interfaces installed, one is ethernet (eth0) and the second is wireless (wlan0). Many command line applications allow you to specify which interface should be used, but many gui apps don't provide this option or at least I haven't found it. I have some questions:
1. How would I tell Firefox to use only my wlan0 interface? If it's possible in Firefox, is this also possible with Google Chrome?
2. If a program doesn't provide a command line argument to support this, is there a standalone application that could help manage preferences for multiple applications?
View 2 Replies
View Related
Apr 7, 2011
I 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.
View 1 Replies
View Related
Aug 30, 2010
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?
View 5 Replies
View Related
Oct 25, 2010
my laptop connects to two specified networks (home, office). When i'm in my office, i don't need to run OpenVPN and automount disc (entered in fstab) from my homeserver. But when i'm at home, i need OpenVPN running and mount some network drives. How can i define, what to run on which network? Can you recommend me something?
View 1 Replies
View Related
Mar 29, 2011
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]...
View 2 Replies
View Related
Jul 30, 2010
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 Related
Jun 18, 2010
Showing 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.
View 1 Replies
View Related
Oct 6, 2010
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]....
View 2 Replies
View Related
Jun 17, 2011
Is 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 Replies
View Related
Feb 3, 2010
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?
View 2 Replies
View Related
Feb 26, 2010
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]....
View 2 Replies
View Related
Aug 19, 2010
I 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.
View 1 Replies
View Related
Sep 17, 2010
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.
View 9 Replies
View Related
Jul 22, 2011
I'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 Related
Jul 3, 2010
I 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]....
View 1 Replies
View Related