Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtuelles Netzwerk-Interface nur von intern erreichbar
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
KaterGonzo
Apprentice
Apprentice


Joined: 01 Apr 2004
Posts: 155

PostPosted: Sun Jan 26, 2014 7:49 am    Post subject: Virtuelles Netzwerk-Interface nur von intern erreichbar Reply with quote

Guten Morgen!

Ich brauche mal einen Tip, wo ich den Fehler noch suchen kann. Habe drei Rechner im öffentlichen RZ. Alle mit virtuellen Netzwerk-Interfaces nach demselben Schema konfiguriert. Bei einem Rechner sind die zusätzlichen IP-Adressen nur von intern aus demselben Subnetz erreichbar, aber nicht von extern. Weise ich eth0 zusätzliche IP-Adressen zu, kann ich alle IP-Adressen von extern nicht mehr erreichen. Entferne ich diese wieder und das Netzwerkinterface hat nur eine IP, dann gehts auch wieder von extern????

Quote:
# vi /etc/conf.d/net

config_eth0=(
"212.xxx.xxx.14/24",
"212.xxx.xxx.15/24"
)
routes_eth0=( "default gw 212.xxx.xxx.1" )
dns_servers_eth0="212.xxx.xxx.11 8.8.8.8"

----------

# uname -a
Linux websrv-lpr 2.6.38-gentoo-r6 #1 SMP Fri Jul 8 17:50:13 CEST 2011 x86_64 Intel(R) Xeon(TM) CPU 3.20GHz GenuineIntel GNU/Linux

-----------

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:48:2c:de:26
inet addr:212.xxx.xxx.14 Bcast:212.xxx.xxx.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe2c:de26/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3328851967 errors:0 dropped:12658975 overruns:0 frame:0
TX packets:6446500410 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:237836621695 (221.5 GiB) TX bytes:9615192508863 (8.7 TiB)

eth0:1 Link encap:Ethernet HWaddr 00:30:48:2c:de:26
inet addr:212.xxx.xxx.15 Bcast:212.xxx.xxx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2297769 errors:0 dropped:0 overruns:0 frame:0
TX packets:2297769 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:118269879 (112.7 MiB) TX bytes:118269879 (112.7 MiB)
--------



# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
212.xxx.xxx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 212.xxx.xxx.1 0.0.0.0 UG 2 0 0 eth0


Jemand einen Tip, was das sein kann? Vielen Dank im Voraus!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum