[CentOS-virt] Error setting up bridge with static IP address
Ben M.
centos at rivint.com
Tue Oct 20 19:25:32 UTC 2009
Are you using the "leaked" copy of 5.4 or is it showing on some of the
mirrors now?
Neil Aggarwal wrote:
> Actually, this worked. I am able to SSH to the box
> on the 192.168.2.200 IP address. I had a typo in
> my ssh command. Sorry for any confusion.
>
> Thanks,
> Neil
>
> --
> Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
> Will your e-commerce site go offline if you have
> a DB server failure, fiber cut, flood, fire, or other disaster?
> If so, ask about our geographically redundant database system.
>
>> -----Original Message-----
>> From: centos-virt-bounces at centos.org
>> [mailto:centos-virt-bounces at centos.org] On Behalf Of Neil Aggarwal
>> Sent: Tuesday, October 20, 2009 1:11 PM
>> To: 'Discussion about the virtualization on CentOS'
>> Subject: Re: [CentOS-virt] Error setting up bridge with
>> static IP address
>>
>> I did some more reading on the Internet and it looks like
>> I am supposed to set up the bridge on eth0 and configure
>> the bridge with the IP address of the host.
>>
>> So, I removed ifcfg-eth0:1 and changed ifcfg-eth0
>> to this:
>> DEVICE=eth0
>> HWADDR=[The MAC address]
>> ONBOOT=yes
>> BRIDGE=br0
>>
>> I removed ifcfg-br1 and created ifcfg-br0 with this
>> content:
>> DEVICE=br0
>> TYPE=Bridge
>> BOOTPROTO=static
>> BROADCAST=192.168.2.255
>> IPADDR=192.168.2.200
>> NETMASK=255.255.255.0
>> NETWORK=192.168.2.0
>> ONBOOT=yes
>> DELAY=0
>>
>> I don't get any errors when I do service network restart
>> but now I can't ssh to the host using the 192.168.2.200
>> IP address.
>>
>> I also tried setting these values in /etc/sysctl.conf:
>>
>> net.bridge.bridge-nf-call-ip6tables = 0
>> net.bridge.bridge-nf-call-iptables = 0
>> net.bridge.bridge-nf-call-arptables = 0
>>
>> net.ipv4.ip_forward = 1
>>
>> and rebooting the machine. That did not help.
>>
>> Any ideas?
>>
>> Thanks,
>> Neil
>>
>>
>> --
>> Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
>> Will your e-commerce site go offline if you have
>> a DB server failure, fiber cut, flood, fire, or other disaster?
>> If so, ask about our geographically redundant database system.
>>
>> _______________________________________________
>> CentOS-virt mailing list
>> CentOS-virt at centos.org
>> http://lists.centos.org/mailman/listinfo/centos-virt
>
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
>
More information about the CentOS-virt
mailing list