I have vmware on my windows PC ( hostname : acer ).
vmware has RHEL 7 ( hostname : rhel7 ) installed recently.
RHEL IP configuration
IP : 192.168.5.128
Netmask : 255.255.255.0
ssh to rhel7 works from acer using putty
resolve.conf
host file of acer has the entry
192.168.5.1 acer
ping to acer from rhel 7 does not work.
Hello
I believe that 192.168.5.1 is your Acer windows PC, and there is no DNS server on it, which are you relies to.
You'll need to set some other DNS server for your Linux server in resolf.conf, for example 8.8.8.8 (Google DNS server).
If you need to be able ping your Acer PC by name from Linux server, you can add this line at /etc/hosts:
I think that you might need to improve your knowledge about DNS a little, this article can help a bit.
Last edited by imort; 04-06-2016 at 02:23 PM..
Reason: Forgot to add a link to article about DNS records
I'm nearly finished my program i've got everything in place and than when i run it it comes back with the reply mv: command not found. This is the code that seems to be causing the problem.
elif
then
echo "There are more than one '$1' files in the system."
echo "Please... (2 Replies)
Hi.
I just installed the HP-UX 11i V2.
I have problems with CDE - it is inoperative (after logon there is a message box: messaging system failure - or something like that, it asks to check /etc/hosts and network settings).
nslookup works by hostname and IP, hostname shown the correct... (7 Replies)
hi folks,
i've got a blank hp visualize C3000 workstation and installed HP-UX 11.11. When I want to start X, I get the following error message:
# X
Fatal server error:
Couldn't open X pointer device! Is one attached?
I've connected an mouse and a keyboard with an usb/ps2 connector.... (5 Replies)
Hi All,
My current setup is:
1x Windows Server (Windows 2000 server)
1x Unix Server
2x Windows machine
3x Unix Terminals (Hostnames = A, B and C)
Problem
The problem iam having is Unix terminal C cannot be ping across by Unix terminal A or B or Unix server by using the hostname. Unix... (1 Reply)
I recently installed Solaris 10 on my Sun workstation. I cannot ping using hostname from another computer on the same network.
But I can ping using the IP address. Also I can ping other systems using their hostnames.
Can anyone give some information regarding how to resolve this issue. (4 Replies)
Hello everyone
I have a partition with a problem with ping.
If I do a ping by ip for example ping 1.1.1.1 I got no problem but If I ping by hostname for example ping partition1 take almost a minute to respond me.
I have Aix 5.3 and I have another 19 partitions with no problem. The only... (5 Replies)
anyone ever seen this problem:
I can ping the server by IP address but I can't by hostname.
nslookup is working and dns query is ok.
# nslookup mwxnsb24
Server: 10.11.49.206
Address: 10.11.49.206#53
Name: mwxnsb24
Address: 10.10.58.175
# ping... (8 Replies)
Hi.
Here is beginning of my script
#!/usr/local/bin/expect --
set timeout 15
spawn /usr/local/account.sh -n modify
expect "Password:" {send "mypassword\r"}
But due to some terminal control sequences (or something else, dunno exactly) my password prompt is looking like this:
and expect... (3 Replies)
Hello, Unix-forums!
My problem:
read -p "Enter any number, please" number
sleep 1
echo $number | tr -d 0-9
test -z $number && echo "Thank you" || echo "This is not a number"Test always displays "This is not a number". It doesn't matter if I entered a or 1.
But if I order
echo... (2 Replies)
Discussion started by: intelinside
2 Replies
LEARN ABOUT DEBIAN
vlan-interfaces
VLAN-INTERFACES(5) File formats VLAN-INTERFACES(5)NAME
/etc/network/interfaces (vlan) - vlan extensions for the interfaces(5) file format
DESCRIPTION
/etc/network/interfaces contains network interface configuration information for the ifup(8) and ifdown(8) commands. This manpage
describes the vlan extensions to the standard interfaces(5) file format.
Primary extensions exist to make and destroy vlan interfaces, secondary extensions exist for ipv4 interface manipulation which are gener-
ally needed when using (a lot of) vlans.
VLAN CREATION
Vlan interface definitions exist of the vlan interface name, and an optional 'raw-device' parameter. Vlan interfaces are numbered 1 to
4095. You have the option to have interface names zero-padded to 4 numbers, or just the plain digits without leading zero. The following
example shows four ways to create a vlan with id 1 on interface eth0. They all result in different names.
iface eth0.1 inet static
address 192.168.1.1
netmask 255.255.255.0
iface vlan1 inet static
vlan-raw-device eth0
address 192.168.1.1
netmask 255.255.255.0
iface eth0.0001 inet static
address 192.168.1.1
netmask 255.255.255.0
iface vlan0001 inet static
vlan-raw-device eth0
address 192.168.1.1
netmask 255.255.255.0
# We don't have br support out of the box
iface br0.2 inet static
vlan-raw-device br0
address 192.168.1.1
netmask 255.255.255.0
# Aliases are ignored
iface br0.2:1 inet static
address 192.168.1.1
netmask 255.255.255.255
EXTRA IFACE OPTIONS
Usually someone who uses vlans also wants to do some other manipulations with the ip stack or interface.
vlan-raw-device devicename
Indicates the device to create the vlan on. This is ignored when the devicename is part of the vlan interface name.
ip-proxy-arp 0|1
Turn proxy-arp off or on for this specific interface. This also works on plain ethernet like devices.
ip-rp-filter 0|1|2
Set the return path filter for this specific interface. This also works on plain ethernet like devices.
hw-mac-address mac-address
This sets the mac address of the interface before bringing it up. This works on any device that allows setting the hardware address
with the ip command.
AUTHOR
This manpage was adapted from interfaces(5) by Ard van Breemen <ard@kwaak.net>
SEE ALSO vconfig(8)interfaces(5)vlan September 30 2007 VLAN-INTERFACES(5)