Dear All
I have following Questions
1 . To make another ethernet interface (virtual) i have created
/etc/sysconfig/network-scripts/ifcfg-eth0-1 file with following
enteries
DEVICE=eth0:0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
After that I restarted network service with "service network restart" and to see interfaces i did "ifconfig" but it didnt show the eth0:0 interface . only eth0 and lo0 are there. i dont want to make this interface up manually with any command . Please tell me what things should be done next.
2. /etc/rc.d/rc.local is not working . The commands i put here dont execute during startup. what could be the problem ??
3.when ever i mail any local user my email shown to the local user becomes
root@localhost.localdomain
whereas it should be
root@hostname.mydomain
Can u tell me where can i define my hostname and domain name so that i can get my desired result . I have already configured /etc/hosts with following enteries:
127.0.0.1 hostname localhost.localdomain. localhost
192.168.0.1 hostname hostname.mydomain hostname
I would be grateful for your guidance in solving these problems
Irfan Asim