Page 1 of 1
Virtual Network
Posted: 29. May 2008, 14:26
by khaipur
how can i change the virtual network address
im trying to use a piece of software that has had the network hard coded in and i want to change the virtual network address.
please note that i cannot just use a bridged network because the host machine is also on a different net.
currently running ubuntu 8.04
Posted: 29. May 2008, 14:39
by Sasquatch
First, you can't change the DHCP address you get.
Second, programs that have the IP hard coded just plain suck. They shouldn't be used, or even exist. This is a bad way of programming. Scold the programmer to remove this, because this gives demands on the network, something not everyone can change (corporations depend on certain settings, it's not something that's easily done).
If you want to have an IP address, just for the program to listen to, then use internal networking. It will not communicate with the outside world but stay within VB. If it needs to go outside the VM (e.g. a server on the Host network, even though it's another range) you can use the bridge just fine. Your host will have the IP it needs, the Guest can have a different IP range. No problems with that. And there is also an option for aliasses if it doesn't work as planned.
Posted: 2. Jun 2008, 18:56
by khaipur
i agree that hard coded ips suck but it was written in 92 as custom app and no matter how much i bitch they wont replace it, while at the same time demanding that i keep it running and consolidate infrastructure. it doesn't matter anymore anyway i put it on a vmware vm where you can change the virtual networks