<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Guten Morgen zusammen,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>vermutlich ist es nur ein banales Problem aber ich sehe vor lauter Bäumen den Wald nicht.<o:p></o:p></p><p class=MsoNormal>Vorhanden ist ein Rechner mit OpenSuSe 13.2 in diesem Rechner gibt es eine Glasfasernetzwerkkarte und eine normale 1 GBit Kupferkabel Karte. Der Rechner ist mit der Glasfaserkarte Teilnehmer an einem sogenannten Internet-Netzwerk und hat die IP-Adresse 192.168.150.6. In diesem Netzwerk gibt es einen Router mit der IP-Adresse 192.168.150.254. Somit wurde als Hauptgateway und DNS die IP-Adresse 192.168.150.254 eingetragen.<o:p></o:p></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>enp4s11         up<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      link:     #2, state up, mtu 1500<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      type:     ethernet, hwaddr 00:15:77:xx:xx:xx<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      config:   compat:/etc/sysconfig/network/ifcfg-enp4s11<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      addr:     ipv4 192.168.150.6/24<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      route:    ipv4 default via 192.168.150.254<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>An der zweiten Netzwerkkarte soll nun ein weiteres Netz angehangen werden. Hierbei soll dann der SuSe-Rechner den sogenannten „Gateway“ übernehmen. Er routet also entsprechende Pakete für das Internet über seine Karte 192.168.150.6 ins Internet.  Diese zweite Karte hat die IP-Adresse 192.168.0.253. Ziel ist es dann im weiteren Verlauf mit squid und den entsprechenden Regeln per Firewall den Netzwerkverkehr zu regeln. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>enp0s25         up<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      link:     #3, state up, mtu 1500<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      type:     ethernet, hwaddr 00:19:99:xx:xx:xx<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      config:   compat:/etc/sysconfig/network/ifcfg-enp0s25<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>      </span><span style='font-family:"Courier New"'>addr:     ipv4 192.168.0.253/24<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>IP-Forwarding habe ich aktiviert und die Firewall ist zur Zeit noch deaktiviert.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>Kernel IP routing table<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>Destination     Gateway         Genmask         Flags Metric Ref    Use Iface<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>default         192.168.150.254 0.0.0.0         UG    0      0        0 enp4s11<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>192.168.0.0     *               255.255.255.0   U     0      0        0 enp0s25<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Courier New"'>192.168.150.0   *               255.255.255.0   U     0      0        0 enp4s11<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>So sieht im Moment die Routing-Tabelle aus. Ich möchte keinerlei Änderungen in dem Router 192.168.150.254 vornehmen, es muss alles mit dem sogenannten Server geregelt werden.<o:p></o:p></p><p class=MsoNormal>Die Lösungen, die ich bis jetzt im Internet gefunden habe, wollen alle das Routing in dem Router verändern.  Vermutlich ist es nur ein banaler Eintrag. Ich weiß, dass ich das früher schon mal konfiguriert hatte, aber mit dem Alter vergisst man manche Dinge. Ach ja, unter SuSe 13.2 laufen die Karten mit „wicked“.<o:p></o:p></p><p class=MsoNormal>Über die zündende Idee würde ich mich freuen.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Danke und Gruß, Michael<o:p></o:p></p></div></body></html>