Connect dual NIC using one cable... possible?


Recommended Posts

Hi guys,

I've been googling for ages. NIC#1 is connected normally through a cable, with IP assigned by DHCP server. Is it possible to get NIC#2 to connect via NIC#1 and obtain another IP via DHCP? Any ideas? I'm running Vista x64.

Thanks in advance :)

Physically no but I think if you ran sort of a virtual adapter you can .Just how virtual machine software works.

You can have as many IP addresses as you want on virtual interfaces (supported by Linux natively, and through 3rd party stuff in Windows). It has nothing to do with the physical device, as it is a network stack/driver thing.

The ISP is only providing Service for ONE connection.

Thanks for the reply guys.

You can have as many IP addresses as you want on virtual interfaces (supported by Linux natively, and through 3rd party stuff in Windows). It has nothing to do with the physical device, as it is a network stack/driver thing.

Yes, the only thing i can think of so far is to use VM, but the thing is I don't really want to run a full VM with an OS just to get an IP address.

Is there any 3rd party software that only install virtual interfaces?

VirtNet is the only one i found but it doesn't support vista x64 :|

Are you just wanting multiple IPs? You do not need a virtual interface for that -- you can put many IPs on one interface.

post-14624-1227191548_thumb.jpg

Im not sure what your trying to accomplish exactly?? But you do not need any 3rd party software or running virtual machines to give your machine more than 1 IP.. You just can not be running dhcp and then add multiples.. Change to static - ie assign the IP on your machine, and then you can add lots more.

All I'm trying to do is get 2 dynamic IP from DHCP on one computer, without additional hardware.

If you're feeling really adventurous, you could split the pairs to accomplish this.

Why not just get a small switch?

lol actually I did try that when running 10/100 LAN, but for something else. cut open my cat5 cable and use the 2 unused pairs. Now I'm running gigabit lan so all pairs are used.

I have a switch, but it's too much work to run another cable to that switch. I guess it'll work if i get another switch and let it sit beside my computer. I'm hoping to get this done by software though. :)

And for what possible reason could you need 2 dhcp IPs from the same dhcp server for? Utterly pointless!!

This is just a possible workaround to a problem I have, so I just wanna see if anyone know a simple way to get 2 IP. I guess there isn't any, at least not on vista x64 :shifty:

I already told you how to get 2 IPs, or 3 or 4 or 7, etc.. Just set your IP as static -- and then add more. But no you can not get multiple IPs from dhcp to the same interface.

And I am with Sawyer12 -- what is the problem your trying to workaround exactly??

And I am with Sawyer12 -- what is the problem your trying to workaround exactly??

Well that's kinda off topic but anyway,

I have a second PC(winxp) which is used roughly once a week. My network setup is simple, both PC are connected to a swtich and the switch goes to a cable modem. My ISP provides 2 dynamic public IP. That's means the IP on my 2nd PC changes everytime I turn it on. I don't want that to happen since I have quite a few settings tied to that IP (firewall, routes, etc).

So possible solutions are:

1. leave 2nd PC on all the time

2. get addtional hardware

3. write some automation script to change all the settings tied to that IP, and run it on both computers whenever i turn 2nd PC on.

4. hold the IP (and of course i'll disable this virtual interface before i turn 2nd PC on)

I won't consider #1 and #2.

I'm not sure how to do #4 so I'm here to see if it's possible. I guess now i'm left with #3.

If you know any other possible solutions, please share ;)

btw thanks for all the input :)

Would option 4 even work? Most ISP's will change the Dynamically assigned IP if the MAC Address of the hardware changes, I suppose you could spoof a MAC address if you really wanted to, but this seems way overly complicated for what you want to do. You really should just get static IP's.

Bgnn32 exactly -- he would have to set the MACs of the different interfaces to be the same.

Even though he does not like the option -- I see little point to having machines directly connected to the net, I would get a router or run a linux distro as his router that allows for multiple IPs on the wan side interface. This should keep his public IPs pretty much the same since it would not go offline.

I'd love to get static IP if I can... but no unless i upgrade to some high end business internet plan, with a static IP at an additional cost.

gigabit routers are kinda pricey. I sometimes do transfer large amount of data between computers and my apt doesn't have space for another computer to run linux...

I should start writing some automation script :rolleyes:

Who said anything about a gig router?? Use a gig switch to connect your machines -- I also do large file transfers and backups, etc. and would never go back to 100mbit on the lan.

But we are not talking about the lan, we are talking about your public side -- I am quite sure you do not have anything close to a gig connection on the public side.. so your router does not need gig interfaces anywhere on it ;)

On the cheap its possible using dd-wrt or openwrt running on say a wrt54g to allow for multiple wan IPs - more often then not these are static IP.. But have a search and you will find some threads where they talk about using dhcp on the public side..

Here is a wiki page from openwrt showing using dhcp on the wan side.. This is more often then not used with multiple ISPs -- but should work just fine with same ISP, etc.

http://wiki.openwrt.org/OpenWrtDocs/Kamika...ion/MultipleWan

snippet;

--

This first is to create vlan (one per WAN connection)

in the /etc/config/network for two wan you'll have:

config switch eth0

option vlan0 "2 3 4 5*"

option vlan1 "0 5"

option vlan2 "1 5"

...

#### WAN configuration

config interface wan

option ifname "eth0.1"

option proto dhcp

config interface wan2

option ifname "eth0.2"

option proto dhcp

During this tutorial I'lL consider both your ISPs use DHCP, but you can easily change it to static IP.

--

So looks like to me for the cost a wrt54GL router your problem would be solved ;)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It's hard not to when they are shoehorning Ai into EVERYTHING. Some are active users by choice, I bet a lot of them are because it's shoved in their face the entire time.
    • Thunderbird 152.0 by Razvan Serea Thunderbird is a free, open-source, cross-platform application for managing email and news feeds. It is a local (rather than a web-based) email application that is powerful yet easy-to-use. Thunderbird is clean and elegant by default, but easily customizable to match your workflow and visual preferences. It is loaded with unique and powerful features. Thunderbird is developed, tested, translated and supported by the folks at Mozilla Corporation and by a group of dedicated volunteers. Thunderbird gives you control and ownership over your email. There are lots of add-ons available for Thunderbird that enable you to extend and customize your email experience. Thunderbird gives you IMAP/POP support, a built-in RSS reader, support for HTML mail, powerful quick search, saved search folders, advanced message filtering, message grouping, labels, return receipts, smart address book LDAP address completion, import tools, and the ability to manage multiple e-mail and newsgroup accounts. Thunderbird 152.0 changelog: SecurityDevices enabled in enterprise policies One-click account setup for Thundermail accounts What’s Changed Use 'Add' instead of 'New' for account, calendar, address book creation buttons GMail OAuth updated to use PKCE Mail server hostname also checked when detecting address books and calendars Updated about:rights to replace local with hosted url 'Hide completed tasks' now also hides cancelled tasks What’s Fixed New mail alerts appeared on wrong monitor in three-monitor setup Spam messages triggered new mail notifications before being moved to Spam folder Filtered IMAP or NNTP subscriptions were lost after closing Subscribe dialog 'Download Headers' dialog for newsgroups failed to open Messages nested deeper than 255 levels disappeared from threading view Performing Delete followed by Undo on thread parent message could corrupt view Single messages still appeared collapsible after thread members were deleted Updated threads remained misordered until folder refresh or resort Non-threaded subject sorting separated 'RE:' replies from original messages BCC recipients were included in signed email headers Filter search on Body missed draft messages containing German umlauts Thunderbird could crash during local message search Blocked file warning showed without 'Unblock File' button in compose window Forwarding/Redirecting Exchange messages failed with NS_ERROR_OUT_OF_MEMORY Compose window closed early and send progress dialog hung after NNTP failure Compose window stayed open after sending when mailnews.sendInBackground set Microsoft OAuth2 failed when HTTPS localhost redirect was not intercepted Pasting contact photos stopped working when photo button had focus Filter dialog lacked focus ring and had poorly distinguishable buttons Subfolder kept stale accessibility unread count after unread messages were deleted 'Edit as New Message' and inline 'Forward' not possible with PGP-signed messages Various MIME improvements EWS messages could go missing from folder view IMAP "Show only subscribed folders" could not be changed without restart Unable to delete more than 1000 messages at a time on Microsoft 365 EWS folders in Trash were moved to Trash again instead of being hard deleted IMAP notifications repeated for emails read on another device after sleep wake POP3 deadlocked when server went silent without closing socket Calendar acceptance no longer distinguished between single occurrence and series Transparent popups on macOS made calendar event editing difficult Duplicate attendees were added to invitations instead of being filtered out Task percentage complete was not preserved separately from status in tooltips Visual and UX improvements Security fixes Download: Thunderbird 152.0 for Windows (EN/US) | 32-bit | ~70.0 MB (Open Source) Download: Thunderbird 152.0 for Mac OS (EN/US) | 145.0 MB Download: Thunderbird 152.0 in other languages View: Thunderbird Website | Screenshot | Release Notes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Nearly half of American adults now use AI, but concerns are also growing by Hamid Ganji Since the launch of ChatGPT in 2022, the way people research, get their news, and perform routine tasks has changed dramatically. Now, almost everything around us has a touch of AI, and companies are trying to embed it into nearly every product and service they offer. With that in mind, new research shows how Americans are actually adopting this change and using AI in their everyday lives. According to new research conducted by the Pew Research Center, 49% of American adults now use AI chatbots like ChatGPT or Gemini. This marks a significant increase over last year, when only 33% of American adults reported using AI. Additionally, four in ten U.S. adults (42%) said they use AI tools to research information, while 38% said they use these tools to handle tasks at work. Entertainment, image and video editing, and getting medical advice are among the other ways Americans are using AI. Moreover, ChatGPT dominates the U.S. AI market, with 44% of respondents saying they use OpenAI's chatbot. Gemini follows at 24%, while Copilot and Meta AI account for 17% and 14%, respectively. Respondents also said that AI chatbots generally have a positive impact on their productivity and how informed they are. But when it comes to AI’s impact on society, Americans remain largely skeptical. About 40% of American adults believe AI will be more harmful than beneficial to society over the next 20 years. Additionally, 31% expect AI to have a negative effect on them personally. Another 31% of respondents say AI could be equally positive and negative. As for data security, pessimism remains high: 71% of respondents say AI will make their personal information less secure, while only 3% believe it will make their data more secure. American adults also largely lack confidence in both the government and AI companies when it comes to regulating and developing AI. About 67% of Americans have little to no confidence in the U.S. government’s ability to regulate AI effectively. Six in ten adults are also not confident that U.S. companies will develop and use these tools responsibly.
    • MultiOS-USB 0.11.1 by Razvan Serea MultiOS-USB is a versatile, open-source utility designed to create multiboot USB drives capable of hosting multiple operating systems on a single portable device. The project simplifies the process of building a bootable USB by automating the configuration of various boot loaders and file systems, enabling users to install and run diverse operating systems, including Windows, Linux distributions, and diagnostic tools, directly from one drive. It supports ISO booting and persistence, which allows changes made during live sessions to be retained, making it ideal for testing, troubleshooting, or system recovery. Features: BIOS and UEFI support Secure Boot support (boot, manage uefi keys) Load UEFI drivers Launch .efi executables and other boot loaders Boot Linux from .iso images Boot WinPE from bootable .wim images Boot Windows 10/11 installer from ISO (currently, SB must be disabled during installation) Boot Linux installer from network (experimental) Boot locally installed systems: Linux, Windows Automatically update configuration files Without background services exFAT file system support Automatic detection of compatible ISO images (GRUB loopback) Support for systems without loopback support Allows customisation of ISO boot menu (for example: custom kernel options) Support for USB, SSD, nvme, mmcblk, loop, nbd and virtual disks Support for x86, x86_64 A list of tested ISO images can be found here MultiOS-USB 0.11.1 changelog: 68122b7: Fixed-release AUR package #63 fba0283: Update shim to 16.1 8c2ae95: Update grub to v2.14-1 ea15c1d: Update Memtest86+ to v8.10 162f4e6: Add secureblue (#71) b2da8ae: Add AerynOS (#74) ac6640e: Bump config.version 34e9ca6: Add Bluefin (#72) 7a10edd: Add Aurora (#66) cab701b: Update wimboot to v2.9.0-1 90da7f7: Fix Windows error: 0x80070001 - 0x4002F (#52) 2dea73d: Add Microsoft certificates 01f479e: Remove old efi_uga module Download: MultiOS-USB 0.11.1 | 5.3 MB (Open Source) View: MultiOS-USB Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Vincian earned a badge
      One Month Later
    • First Post
      Jocimo earned a badge
      First Post
    • Week One Done
      suprememobiles48 earned a badge
      Week One Done
    • One Month Later
      Windows Guy earned a badge
      One Month Later
    • One Month Later
      Prasann earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      90
    4. 4
      Steven P.
      76
    5. 5
      neufuse
      69
  • Tell a friend

    Love Neowin? Tell a friend!