Red Squirrel
[H]F Junkie
- Joined
- Nov 29, 2009
- Messages
- 9,211
I have a server that has multiple IPs assigned to it, but it uses a range. This is the config file:
(changed the IPs)
How do I go about excluding one IP? Ex: I don't want the machine to respond to it. The problem is, it is used for a VM that is hosted on that server, but if I try to reach that VM from the server, it does not route properly.
Is there a way I can specify these IPs individually instead of by range? I still want them to use the same interface though, that's the tricky part, so I can't just create a eth2, eth3 etc file because I don't have that many physical interfaces.
(changed the IPs)
Code:
# Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
DEVICE=eth1
BOOTPROTO=static
DHCPCLASS=
HWADDR=*removed*
ONBOOT=yes
IPADDR_START=*removed*
IPADDR_END=*removed*
CLONENUM_START=0
GATEWAY=*removed*
NETMASK=255.255.255.240
NO_ALIASROUTING=yes
How do I go about excluding one IP? Ex: I don't want the machine to respond to it. The problem is, it is used for a VM that is hosted on that server, but if I try to reach that VM from the server, it does not route properly.
Is there a way I can specify these IPs individually instead of by range? I still want them to use the same interface though, that's the tricky part, so I can't just create a eth2, eth3 etc file because I don't have that many physical interfaces.