Hi all,
I'm trying to install on a Google Compute Engine instance running Centos7. I've read the guides regarding getting it to work on a LAN, but can't get it to work. Hope someone can help me.
ifconfig:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1460
inet 10.xx.xx.xx netmask 255.255.255.255 broadcast 10.xx.xx.xx
ether 42:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 3537 bytes 2062781 (1.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 895 bytes 119040 (116.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I then add the following to the new file "/etc/sysconfig/network-scripts/ifcfg-eth0:0":
DEVICE=eth0:0
BOOTPROTO=none
ONPARENT=yes
IPADDR=104.xx.xx.xx
NETMASK=255.255.255.255
ONBOOT=yes
After which ifconfig gives me this:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1460
inet 10.xx.xx.xx netmask 255.255.255.255 broadcast 10.xx.xx.xx
ether 42:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 3709 bytes 2082767 (1.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1016 bytes 136535 (133.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1460
inet 104.xx.xx.xx netmask 255.255.255.255 broadcast 104.xx.xx.xx
ether 42:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
But when running "wget --bind-address=104.xx.xx.xx http://www.google.com" it times out. Actually, it even times out without "--bind-address" after adding the new interface.
Anyone knows what this might be?
I'm trying to install on a Google Compute Engine instance running Centos7. I've read the guides regarding getting it to work on a LAN, but can't get it to work. Hope someone can help me.
ifconfig:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1460
inet 10.xx.xx.xx netmask 255.255.255.255 broadcast 10.xx.xx.xx
ether 42:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 3537 bytes 2062781 (1.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 895 bytes 119040 (116.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I then add the following to the new file "/etc/sysconfig/network-scripts/ifcfg-eth0:0":
DEVICE=eth0:0
BOOTPROTO=none
ONPARENT=yes
IPADDR=104.xx.xx.xx
NETMASK=255.255.255.255
ONBOOT=yes
After which ifconfig gives me this:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1460
inet 10.xx.xx.xx netmask 255.255.255.255 broadcast 10.xx.xx.xx
ether 42:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 3709 bytes 2082767 (1.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1016 bytes 136535 (133.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1460
inet 104.xx.xx.xx netmask 255.255.255.255 broadcast 104.xx.xx.xx
ether 42:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
But when running "wget --bind-address=104.xx.xx.xx http://www.google.com" it times out. Actually, it even times out without "--bind-address" after adding the new interface.
Anyone knows what this might be?