Recommended Posts

I have a Debian 8u3 virtual machine (web server running plesk not that that is relevant) hosted on a dedicate server at a DC

 

the DC give you single IP addresses rather than IPv4 sub nets, and they ask you to assign them to a mac address in your control panel and then assign that mac address on the VM Host to the guest, which I have done.

 

You then configure the IP address on the guest, for example (not actual IP btw) 176.48.3.78

 

They then tell you to configure a sub net mask of 255.255.255.255 (/32) and use your servers IP address but with .1 on the end as the gateway.  

Lets say my servers address is 176.48.15.78 (again not the actual IP, just an example) then the default gateway to be used on the VM should be 176.48.15.1

 

Debian isn't happy with this at all during setup ,how can it route via a default gateway not even on the same sub net as itself.

If I configure it with the net mask 255.255.0.0 it works, however all IP's inside of 176.48.15 will not be able to route to it, not ideal at all but it worked.

 

The problem is I have upgraded my dedicated server int he DC (and have 8 days to migrate everything) and its IP address is now (another example) completely different 189.65.48.30 so the default gateway on the Debian VM needs to be 89.65.48.1

There is no way to shorten the sub net mask to allow Debian to route now.

 

If I configure in windows an IP address a net mask of 255.255.255.255 and a gateway nowhere even close to the IP address it gives a warning, but if I dismiss this warning it works and routes as online.net suggest it will.

 

In Debian if I edit /etc/network/interfaces in a similar way and save it, then reboot the server, it cannot ping out or accept any traffic in at all.

 

How can I make it route like window sis able to ??

 

Thanks.

Mark

Link to comment
https://www.neowin.net/forum/topic/1303392-using-a-32-network-on-debian-8u3/
Share on other sites

Still struggling on this, I thought I had cracked it because my web server now works fine pages load, email clients can connect, everything works as expected.

 

until the server tries to connect outwards itself, any time plesk tries to update, or osticket tries to connect to an external email service, or anything like that it cannot

 

I cant even ping from the console

 

here's my interfaces config ....

 

Capture.png

 

Ive blanked out bits for security reasons.

 

Here is how the DC tell you to configure it ...

 

https://documentation.online.net/en/dedicated-server/network/ip-failover/debian-ubuntu

 

I tried adding various routes and couldn't cure the problem.  can anyone point me the right way ?

 

Thanks!

So I made progress

 

progress.png

 

 

However I can only communicate with traffic on 8.0.0.1 to 8.254.254.254

 

Do i have to manually add routes for every subnet outside of the one asigned to eth0 ? 

 

Also is the re a way to have these routes saved so they remain after a reboot ?

 

Thanks

I figured it out

 

ip route del default (remove the deult rule)

 

ip route add default via 62.xxx.xxx.1 src 163.xxx.xxx.xxx (add it back but with the failover IP as source)

 

I added those 2 lines to /etc/rc.local

 

fixed.png

 

wow i jumped through hoops to figure that out, quite a learning curve.  I now know more about Linux routing than i ever did

Edited by Inertia
This topic is now closed to further replies.
  • Posts

    • I own one somewhere and even got the email from Amazon letting me know about the recall but not sure I'll be able to find it. Haven't seen it in months.
    • Steam games now detail what accessibility features they offer on store pages by Pulasthi Ariyasinghe Valve has pushed a new update for its Steam platform, and it's fully focused on accessibility. The latest change makes it both easier for developers to show what accessibility options they offer within their games and for players to find options they require to enjoy titles. "This update comes after gathering valuable feedback from developers as well as players with disabilities," says Valve in the announcement blog post. "Over 5,000 applications have added details about their accessibility support, with more developers updating their games each day." Here are the options currently offered by Valve: Gameplay: Adjustable Difficulty: Players can adjust gameplay difficulty. Save Anytime: Players can save gameplay using both automatic and manual saves. Saving can be performed at any point in the game. Audio: Custom Volume Controls: Players can adjust the volume of the audio. Different types of audio can be muted independently from each other. Narrated Game Menus: Players can listen to game menus with narrated audio. Stereo Sound: Players can identify how far to the left or right sounds are coming from. Surround Sound: Players can identify how far in any direction sounds are coming from. Visual: Adjustable Text Size: Players can adjust text size. (In-game text, menu text, character dialog text, subtitle text) Subtitle Options: Players have options to customize the display of subtitles for all spoken content and essential audio information. Color Alternatives: Gameplay doesn't rely on colors to communicate important information, or players have an option to adjust colors used for distinguishing information. Camera Comfort: Players have an option to adjust or disable uncomfortable camera movement such as screen shaking, camera bob, or motion blur, or the game doesn't feature these effects. Input: Keyboard Only Option: Players can play the game with just a keyboard and no other additional input mechanisms such as a mouse or controller. Mouse Only Option: Players can play the game with just a mouse and no other additional input mechanisms such as a keyboard or controller. Touch Only Option: Players can play the game with just touch controls and no other additional input mechanisms such as a mouse, keyboard or controller. Playable without Timed Input: Players have an option to adjust gameplay to not require precisely timed button presses ("quick time events") or gameplay does not require such button presses. Text-to-speech: Text chat can be narrated out loud in real time. Speech-to-text communications: Voice chat can be read as a text transcript in real time. These can be found when searching in the filters as well as inside games' store pages in the features section on the right side, as seen in the screenshot above. While developers are not required to mention accessibility options of their games on store pages, Valve says it is highly recommended to make sure players that require it can find relevant games more easily. "We've worked to make it as easy as possible for developers to indicate these features are available by using feedback to standardize these options as much as possible," added the company.
    • They have a concept of a plan. How fitting.
    • As Total War turns 25, Creative Assembly is teasing a "new era" for the strategy franchise by Pulasthi Ariyasinghe Creative Assembly has now officially been making Total War games for 25 years. It was in June 2000 that the UK-based studio put forth Shogun: Total War for PC, with Electronic Arts publishing the ambitious project. With a quarter of a century now behind the series, the developer is now looking towards the "next era" of Total War. The studio will host its first-ever Total War showcase in December 2025, which is described as a "flagship video presentation unveiling what’s next for the franchise." Creative Assembly said that the showcase will have announcements for new games as well as content for existing titles, with developer commentary also happening regarding the future of the series. "We’re honoured and humbled to be one of the few video games that get the chance to celebrate such a huge milestone, and we want to thank colleagues past and present, as well as our fans for all the support," says Total War vice president Roger Collum. "2025 marks an exciting new era for the franchise as we reveal what’s next for Total War, and we can’t wait to celebrate throughout the year with everyone." Read an anniversary letter from Roger Collum regarding the studio's history, Total War beginnings, and more over here. Prior to the showcase, Creative Assembly will be hosting retrospective video interviews, developer livestreams, and more behind-the-scenes content regarding the series starting this August. There will also be multiplayer tournaments for fans, giveaways, Q&A sessions with developers, mod spotlights, and more events happening during this period. As the studio celebrates the occasion, a massive Total War historical games sale has just gone live on Steam. This has discounts of up to 75% across everything from the original Shogun: Total War to the latest entry, Total War: PHARAOH. The discounts will last until June 26.
    • ANY standard Windows PC, either desktop or laptop, can install the Copilot app, period, no NPU or Copilot+ certification required. I should know, I have it running on a 3770K (2011) Windows 11 PC and works perfectly fine. So, your laptop can definitely run it, too.
  • Recent Achievements

    • One Month Later
      POR2GAL4EVER earned a badge
      One Month Later
    • One Year In
      Orpheus13 earned a badge
      One Year In
    • One Month Later
      Orpheus13 earned a badge
      One Month Later
    • Week One Done
      Orpheus13 earned a badge
      Week One Done
    • Week One Done
      serfegyed earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      539
    2. 2
      ATLien_0
      251
    3. 3
      +Edouard
      163
    4. 4
      +FloatingFatMan
      159
    5. 5
      Michael Scrip
      110
  • Tell a friend

    Love Neowin? Tell a friend!