Network Bridge Question

Post Reply
User avatar
Andy Horn
Knows their stuff
Posts: 188
Joined: July 24th, 2011, 6:14 pm
Location: Stockton on Tees

Network Bridge Question

Post by Andy Horn »

Hi all.

I have now replaced my hardware with something that has a little more umph!!

So now what I want do to is run a vLite'd version of Vista on a VM.

My question is when I configure my network interfaces for a bridge do I replace:

This

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1

With this?

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto br0
iface br0 inet static
address 192.168.1.100
broadcast 192.168.1.255
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off

Thanks in advance :thumbup:
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Network Bridge Question

Post by Ian »

Hi Andy.

Does this page help?

Ian
User avatar
Andy Horn
Knows their stuff
Posts: 188
Joined: July 24th, 2011, 6:14 pm
Location: Stockton on Tees

Re: Network Bridge Question

Post by Andy Horn »

Hi Ian.

Sorry not really, I am not sure if I need to replace the eth0 with br0 or if I need both.

I did that last week then I could not connect to my server but that might have been something else I fuxered up :oops:

Cheers

Andy
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Network Bridge Question

Post by Ian »

You don't need the eth0 when you have the br0. Some routers take a while to "adjust themselves" to such changes so try restarting the router afterwards. Another thing to try is disconnecting and/or restarting any device which might be acting as the master dns for your network.

Try pinging the server via its ip address to see whether it responds.

Any joy?

Ian
User avatar
Andy Horn
Knows their stuff
Posts: 188
Joined: July 24th, 2011, 6:14 pm
Location: Stockton on Tees

Re: Network Bridge Question

Post by Andy Horn »

No that did not work!!

I have gone back to my original config, my guess is it is dns related.

What I can do:

ping from Vista
ping from Mac
ssh from Mac
vnc from Vista
access all the computers on my network from the gnome desktop on the server.

What I cant do:

Access the server from network/my network places

Both Vista and Mac can see the server but unable to connect to it. (Vista error code:0x80070005 Access is denied.). The Mac just does not want to know.

My resolv.conf file is empty and I dont know how to fix this.

Cheers

Andy
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Network Bridge Question

Post by Ian »

Hi Andy,

Are you sure your "gateway" setting is correct?

From another forum I note issuing the following command solved the resolv.conf file issue for them:

Code: Select all

sudo chattr +i /etc/resolv.conf
Worth a try.

Ian.
User avatar
Andy Horn
Knows their stuff
Posts: 188
Joined: July 24th, 2011, 6:14 pm
Location: Stockton on Tees

Re: Network Bridge Question

Post by Andy Horn »

Hi Ian

Almost certain my gateway/router? settings are correct.

I have reinstalled and I am just going to leave it as is for the time been until I get more confident with Ubuntu :wtf:

I was tempted to buy WHS 2011 as it is less than 40 quid at the moment, but I would much rather spend the money on hardware i.e a DVB S2 card.

Thanks

Andy
Post Reply