Autor Beitrag
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 26.04.08 08:14 
Hallo!

Ich habe momentan in meinem Rechner eine GbE-NIC (onboard) und per Adapter eine Verbindung ins UMTS-Netz, also insgesamt 2 Netzwerkverbindungen. Jetzt möchte ich von einem Programm auf Layer 2 Frames an eine vordefinierte MAC-Adresse schicken lassen, deren zugehörige NIC per Netzwerkkabel mit der GbE-NIC verbunden ist, was auch prinzipiell klappt, sofern die UMTS-Verbindung getrennt ist. Ist die UMTS-Verbindung aber aktiv, versucht das Programm, mit dem ich die Frames schicke, das UMTS-Interface zu benutzen (über Wireshark herausgefunden). Gibt es irgendeine Möglichkeit, dem Programm das GbE-Interface zum Senden aufzuzwingen? Ich habe den arp- und den route-Befehl versucht, aber beide helfen mir nicht weiter. Irgendjemand eine Idee?

AXMD
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 26.04.08 13:38 
Moin!

Schon probiert, die Schnittstellenmetrik so anzupassen, dass die GBit-Verbindung höher priorisiert ist? :nixweiss:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 26.04.08 13:40 
Sie ist eigentlich bereits höher priorisiert (d.h. sie hat niedrigere "Kosten"), aber das scheint das Programm bzw. Windows zu ignorieren

AXMD
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 26.04.08 14:55 
Moin!

Warum betonst du die MAC so sehr? Ist das keine IP-Kommunikation? :gruebel:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 26.04.08 15:15 
Nein, es ist keine IP-Kommunikation. Es handelt sich um ein Programm, das den anderen Rechner über Wake On LAN aufweckt.

AXMD
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 26.04.08 15:50 
Moin!

user profile iconAXMD hat folgendes geschrieben:
Nein, es ist keine IP-Kommunikation. Es handelt sich um ein Programm, das den anderen Rechner über Wake On LAN aufweckt.
Also doch IP-Komm... ;)

Statischen ARP-Eintrag und statische Route dafür anlegen, dann MagicPaket per UDP an Port 9 senden. :idea:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 26.04.08 16:01 
user profile iconNarses hat folgendes geschrieben:
Also doch IP-Komm... ;)

Statischen ARP-Eintrag und statische Route dafür anlegen, dann MagicPaket per UDP an Port 9 senden. :idea:


Äh, nein :gruebel: ... das Programm erwartet von mir nur eine MAC-Adresse und funktioniert so auch einwandfrei, wenn keine andere Verbindung aktiv ist.

AXMD
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 26.04.08 22:57 
Moin!

user profile iconAXMD hat folgendes geschrieben:
das Programm erwartet von mir nur eine MAC-Adresse und funktioniert so auch einwandfrei, wenn keine andere Verbindung aktiv ist.
Wenn die Software nicht von dir ist, dann fürchte ich, hast du keine Chance. Ich vermute, bei deren Ansatz, das WoL-Paket per UDP-Broadcast loszuwerden, wird nur das Interface mit der Default-Route einbezogen. Mir ist zumindest keine Möglichkeit bekannt, wie man dem WinIP-Stack deinen Wunsch "näherbringen" könnte... :nixweiss:

Du kannst das allerdings mit einem eigenen Programm relativ einfach lösen. :?

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 27.04.08 15:20 
Danke für den Tipp, Narses. Hab das Ganze mit einem eigenen Programm gelöst, das den Frame einfach in ein UDP-Paket packt und an die Broadcastadresse (IP) des Subnetzes schickt - das funktioniert :).
//EDIT: Falls jemand das Programm benötigt, ich hab's hier veröffentlicht.

AXMD
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: So 27.04.08 22:05 
Moin!

user profile iconAXMD hat folgendes geschrieben:
Danke für den Tipp, Narses.
Bitte, gern geschehen. ;)

Markierst du den Thread dann noch entsprechend? :zwinker: :rofl:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 27.04.08 22:11 
:P Gerne

AXMD