bsd_conqueror
|
conqueror
|
|
|
|
Рег.: 21.08.2006
|
Сообщений: 899
|
Из: Russia, Moscow, MSU
|
Рейтинг: 32
|
|
debian sucks or i suck
20.09.2007 22:11
|
|
|
$ cat /etc/resolve.conf search local hackers v.ru gznet.ru nameserver 172.16.0.11 nameserver 172.16.0.1 nameserver 172.16.22.1
$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).
# The loopback network interface auto lo eth0 iface lo inet loopback
# The primary network interface #auto eth0
##by dhcp###
# static!## iface eth0 inet static address 172.16.21.94 netmask 255.255.252.0 broadcast 172.16.23.255 # dns-nameservers 172.16.0.11 # dns-search hackers local v.ru gznet.ru fds up route add -net 172.16.0.0/12 gw 172.16.20.1 metric 32 up route add -net 10.0.0.0/8 gw 172.16.20.1 metric 32 down route del -net 172.16.0.0/12 down route del -net 10.0.0.0/8 iface ppp0 inet ppp provider golf
$ route
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.16.20.0 * 255.255.252.0 U 0 0 0 eth0 172.16.0.0 phoenix-b4.loca 255.240.0.0 UG 32 0 0 eth0 10.0.0.0 phoenix-b4.loca 255.0.0.0 UG 32 0 0 eth0
результат выполнения команды ping un:/home/delusive# ping -c 1 bsd-book.hackers PING bsd-book.hackers (172.16.39.49) 56(84) bytes of data. 64 bytes from bsd-book.hackers (172.16.39.49): icmp_seq=1 ttl=126 time=1.02 ms
--- bsd-book.hackers ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 1.023/1.023/1.023/0.000 ms
ping -c 1 ultra.v.ru PING ultra.v.ru (172.16.52.74) 56(84) bytes of data. 64 bytes from ultra2.hackers (172.16.52.74): icmp_seq=1 ttl=62 time=2.91 ms
--- ultra.v.ru ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 2.910/2.910/2.910/0.000 ms
un:/home/delusive# ping -c 1 forum.local ping: unknown host forum.local
un:/home/delusive# ping -c 1 172.16.0.1 PING 172.16.0.1 (172.16.0.1) 56(84) bytes of data. 64 bytes from 172.16.0.1: icmp_seq=1 ttl=63 time=0.468 ms
--- 172.16.0.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.468/0.468/0.468/0.000 ms
из-за чего не резолвируется forum.local когда я пытался пинговать ????? хотя пингуется 172.16.0.1 нормально ?????
Редактировал bsd_conqueror (20.09.2007 22:22)
|
FreeBSD : The Power to Serve |
|
gadfather
|
Carpal Tunnel
|
|
|
|
Рег.: 05.11.2003
|
Сообщений: 47302
|
Из: пл. Гагарина
|
Рейтинг: 16961
|
|
|
ну жди катобра, раз ответы от других не принимаешь
|
You can't always get what you want |
|
bsd_conqueror
|
conqueror
|
|
|
|
Рег.: 21.08.2006
|
Сообщений: 899
|
Из: Russia, Moscow, MSU
|
Рейтинг: 32
|
|
|
Нет, я принимаю ответы от всех. Прошу прошения, gadther.
|
FreeBSD : The Power to Serve |
|
maloi
|
Зануда
|
|
|
|
Рег.: 09.05.2006
|
Сообщений: 6506
|
Из: $(pwd)
|
Рейтинг: 2880
|
|
|
maloi@un:~$ nslookup forum.local Server: 172.16.0.11 Address: 172.16.0.11#53
Name: forum.local Address: 172.16.0.2
maloi@un:~$ ping 172.16.0.2 PING 172.16.0.2 (172.16.0.2) 56(84) bytes of data. 64 bytes from 172.16.0.2: icmp_seq=1 ttl=63 time=0.454 ms 64 bytes from 172.16.0.2: icmp_seq=2 ttl=63 time=0.415 ms 64 bytes from 172.16.0.2: icmp_seq=3 ttl=63 time=0.387 ms 64 bytes from 172.16.0.2: icmp_seq=4 ttl=63 time=0.538 ms
--- 172.16.0.2 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2998ms rtt min/avg/max/mdev = 0.387/0.448/0.538/0.060 ms
в общем по имени ничего из .local не пингуется.
ЗЫ ты не запостил /etc/hosts 127.0.0.1 localhost.localdomain localhost 172.16.18.5 debian.local 172.16.21.94 un.local. un. 172.16.21.94 un.local un
# The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
|
Помни: убив анимешника, ты повышаешь скорость сети на 5% |
|
maloi
|
Зануда
|
|
|
|
Рег.: 09.05.2006
|
Сообщений: 6506
|
Из: $(pwd)
|
Рейтинг: 2880
|
|
Re: debian sucks or i suck
[re: maloi]
20.09.2007 22:49
|
|
|
при этом maloi@un:~$ ping forum -c 1 PING forum.local (172.16.0.2) 56(84) bytes of data. 64 bytes from forum.local (172.16.0.2): icmp_seq=1 ttl=63 time=0.384 ms
--- forum.local ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.384/0.384/0.384/0.000 ms
|
Помни: убив анимешника, ты повышаешь скорость сети на 5% |
|
Shurick
|
Bad Man
|
|
|
|
Рег.: 30.08.2002
|
Сообщений: 6379
|
|
Рейтинг: 303
|
|
Re: debian sucks or i suck
[re: maloi]
20.09.2007 22:54
|
|
|
/etc/nsswitch.conf фстудию
|
|
bsd_conqueror
|
conqueror
|
|
|
|
Рег.: 21.08.2006
|
Сообщений: 899
|
Из: Russia, Moscow, MSU
|
Рейтинг: 32
|
|
Re: debian sucks or i suck
[re: Shurick]
20.09.2007 23:05
|
|
|
cat /etc/nsswitch.conf # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file.
passwd: compat group: compat shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 networks: files
protocols: db files services: db files ethers: db files rpc: db files
netgroup: nis
|
FreeBSD : The Power to Serve |
|
maloi
|
Зануда
|
|
|
|
Рег.: 09.05.2006
|
Сообщений: 6506
|
Из: $(pwd)
|
Рейтинг: 2880
|
|
Re: debian sucks or i suck
[re: Shurick]
20.09.2007 23:05
|
|
|
# /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file.
passwd: compat group: compat shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 networks: files
protocols: db files services: db files ethers: db files rpc: db files
netgroup: nis
|
Помни: убив анимешника, ты повышаешь скорость сети на 5% |
|
Shurick
|
Bad Man
|
|
|
|
Рег.: 30.08.2002
|
Сообщений: 6379
|
|
Рейтинг: 303
|
|
Re: debian sucks or i suck
[re: maloi]
20.09.2007 23:07
|
|
|
|
delusive
|
newbie
|
|
|
|
Рег.: 04.09.2007
|
Сообщений: 44
|
|
Рейтинг: -7
|
|
Re: debian sucks or i suck
[re: Shurick]
21.09.2007 00:39
|
|
|
|